-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
38 lines (38 loc) · 1.27 KB
/
CMakePresets.json
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
{
"version": 2,
"configurePresets": [
{
"name": "osx-debug",
"displayName": "osx degug",
"description": "Configure for the debug build with Clang and Ninja",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_FLAGS": "-v -stdlib=libc++",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
}
},
{
"name": "x64-debug",
"displayName": "windows x64 debug",
"description": "Debug build with Clang and Ninja",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
}
}
],
"buildPresets": [
{
"name": "osx-debug",
"configurePreset": "osx-debug",
"displayName": "Build osx-debug.",
"description": "Build osx-debug."
}
]
}