-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
39 lines (39 loc) · 1.07 KB
/
CMakePresets.json
File metadata and controls
39 lines (39 loc) · 1.07 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
{
"version": 2,
"configurePresets": [
{
"name": "ninja",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_CXX_FLAGS": "-fdiagnostics-color=always",
"CMAKE_C_FLAGS": "-fdiagnostics-color=always",
"CPM_SOURCE_CACHE": ".cpm_cache"
}
},
{
"name": "ninja-mingw",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build-mingw",
"cacheVariables": {
"CMAKE_C_COMPILER": "x86_64-w64-mingw32-gcc",
"CMAKE_CXX_COMPILER": "x86_64-w64-mingw32-g++",
"CMAKE_SYSTEM_NAME": "Windows",
"CMAKE_SYSTEM_VERSION": "10.0",
"CPM_SOURCE_CACHE": ".cpm_cache"
}
},
{
"name": "ninja-win",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build-win",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_SYSTEM_NAME": "Windows",
"CMAKE_SYSTEM_VERSION": "10.0",
"CPM_SOURCE_CACHE": ".cpm_cache"
}
}
]
}