-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCMakePresets.json
More file actions
144 lines (144 loc) · 6.7 KB
/
CMakePresets.json
File metadata and controls
144 lines (144 loc) · 6.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "Win32_Release",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_CXX_FLAGS_RELEASE": "/MT /O1 /GL /Gy /MP16",
"CMAKE_C_FLAGS_RELEASE": "/MT /O1 /GL /Gy /MP16",
"CMAKE_EXE_LINKER_FLAGS": "/LTCG /INCREMENTAL:NO",
"CMAKE_SHARED_LINKER_FLAGS": "/LTCG /INCREMENTAL:NO",
"CMAKE_STATIC_LINKER_FLAGS": "/LTCG",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "TRUE",
"SK_BUILD_EDITOR":false
}
},
{
"name": "Win32",
"hidden": true
},
{
"name": "test_Win32_x64",
"inherits": "Win32",
"description": "test build for Win32 x64",
"hidden": false,
"binaryDir": "${sourceDir}/bin/intermediate/Win32_x64"
},
{
"name": "test_Win32_ARM64",
"inherits": "Win32",
"description": "test build for Win32 ARM64",
"hidden": false,
"binaryDir": "${sourceDir}/bin/intermediate/Win32_Arm64"
},
{
"name": "skshaderc_Win32_x64_Release",
"inherits": "Win32_Release",
"description": "Release build for Win32 x64",
"hidden": false,
"binaryDir": "${sourceDir}/bin/intermediate/Win32_x64"
},
{
"name": "skshaderc_Win32_Arm64_Release",
"inherits": "Win32_Release",
"description": "Release build for Win32 Arm64",
"hidden": false,
"architecture": "ARM64",
"binaryDir": "${sourceDir}/bin/intermediate/Win32_Arm64"
},
{
"name": "Linux",
"description": "Build for Linux",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "Linux",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_LINKER": "lld",
"CMAKE_EXE_LINKER_FLAGS": "-fuse-ld=lld",
"CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=lld",
"CMAKE_MODULE_LINKER_FLAGS": "-fuse-ld=lld",
"SK_BUILD_EDITOR":false,
"SK_BUILD_EXAMPLES":false
}
},
{
"name": "skshaderc_Linux_x64_Release",
"description": "Release build for Linux x64",
"hidden": false,
"inherits": "Linux",
"binaryDir": "${sourceDir}/bin/intermediate/Linux_x64_Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "skshaderc_Linux_Arm64_Release",
"description": "Release build for Linux Arm64",
"hidden": false,
"inherits": "Linux",
"binaryDir": "${sourceDir}/bin/intermediate/Linux_ARM64_Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_AR": "/usr/bin/aarch64-linux-gnu-ar",
"CMAKE_LINKER": "/usr/bin/aarch64-linux-gnu-ld",
"CMAKE_OBJCOPY": "/usr/bin/aarch64-linux-gnu-objcopy",
"CMAKE_RANLIB": "/usr/bin/aarch64-linux-gnu-ranlib",
"CMAKE_SIZE": "/usr/bin/aarch64-linux-gnu-size",
"CMAKE_STRIP": "/usr/bin/aarch64-linux-gnu-strip",
"CMAKE_C_COMPILER": "aarch64-linux-gnu-gcc",
"CMAKE_CXX_COMPILER": "aarch64-linux-gnu-g++",
"CMAKE_SYSTEM_PROCESSOR": "arm64",
"CMAKE_EXE_LINKER_FLAGS": null,
"CMAKE_SHARED_LINKER_FLAGS": null,
"CMAKE_MODULE_LINKER_FLAGS": null
}
},
{
"name": "Mac",
"description": "Build for Mac",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "Darwin",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER":"clang++",
"CMAKE_OSX_ARCHITECTURES": "x86_64;arm64",
"SK_BUILD_EDITOR":false,
"SK_BUILD_EXAMPLES":false
}
},
{
"name": "skshaderc_Mac_Release",
"description": "Release build for Mac (universal architecture)",
"hidden": false,
"inherits": "Mac",
"binaryDir": "${sourceDir}/bin/intermediate/Mac_Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_FLAGS_RELEASE": "-Os",
"CMAKE_CXX_FLAGS_RELEASE": "-Os",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "TRUE"
}
}
],
"buildPresets": [
{ "name":"test_Win32_x64_Debug", "targets": ["skg_flatscreen", "skshader_editor"], "configuration":"Debug", "configurePreset":"test_Win32_x64", "jobs":24},
{ "name":"test_Win32_x64_Release", "targets": ["skg_flatscreen", "skshader_editor"], "configuration":"Release", "configurePreset":"test_Win32_x64", "jobs":24},
{ "name":"test_Win32_Arm64_Debug", "targets": ["skg_flatscreen", "skshader_editor"], "configuration":"Debug", "configurePreset":"test_Win32_ARM64", "jobs":24},
{ "name":"test_Win32_Arm64_Release", "targets": ["skg_flatscreen", "skshader_editor"], "configuration":"Release", "configurePreset":"test_Win32_ARM64", "jobs":24},
{ "name":"skshaderc_Win32_x64_Release", "targets": ["skshaderc"], "configuration":"Release", "configurePreset":"skshaderc_Win32_x64_Release", "jobs":24},
{ "name":"skshaderc_Win32_Arm64_Release", "targets": ["skshaderc"], "configuration":"Release", "configurePreset":"skshaderc_Win32_Arm64_Release", "jobs":24},
{ "name":"skshaderc_Linux_x64_Release", "targets": ["skshaderc"], "configuration":"MinSizeRelease", "configurePreset":"skshaderc_Linux_x64_Release", "jobs":24},
{ "name":"skshaderc_Linux_Arm64_Release", "targets": ["skshaderc"], "configuration":"MinSizeRelease", "configurePreset":"skshaderc_Linux_Arm64_Release", "jobs":24},
{ "name":"skshaderc_Mac_Release", "targets": ["skshaderc"], "configuration":"MinSizeRelease", "configurePreset":"skshaderc_Mac_Release", "jobs":24}
]
}