-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
31 lines (31 loc) · 1.21 KB
/
CMakePresets.json
File metadata and controls
31 lines (31 loc) · 1.21 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
{
"version": 3,
"configurePresets": [
{
"name": "debug",
"displayName": "Debug compilation mode",
"description": "Clang compilers in debug mode for x86_64-pc-linux-gnu",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "/usr/bin/clang",
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
"CMAKE_MAKE_PROGRAM": "/usr/bin/make",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release",
"displayName": "Release compilation mode",
"description": "Clang compilers in release mode for x86_64-pc-linux-gnu",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "/usr/bin/clang",
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
"CMAKE_MAKE_PROGRAM": "/usr/bin/make",
"CMAKE_BUILD_TYPE": "Release"
}
}
]
}