-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakePresets.json
45 lines (45 loc) · 1.13 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
39
40
41
42
43
44
45
{
"version": 1,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"hidden": true,
"binaryDir": "${sourceDir}/build/",
"cacheVariables": {
"CS_BUILD_UNIT_TESTS": "ON",
"CS_ENABLE_GTEST": "ON"
}
},
{
"name": "default_make",
"inherits": "default",
"displayName": "Unix Make Default Config",
"description": "Default build using Unix Makefiles",
"generator": "Unix Makefiles"
},
{
"name": "default_ccache_make",
"inherits": "default_make",
"displayName": "CCache Default Config",
"description": "Default build using ccache",
"cacheVariables": {
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_CUDA_COMPILER_LAUNCHER": "ccache",
"CMAKE_C_COMPILER_LAUNCHER": "ccache"
}
},
{
"name": "default_msvc",
"inherits": "default",
"displayName": "MSVC Default Config",
"description": "Default build using MSVC 16 x64",
"generator": "Visual Studio 16 2019",
"architecture": "x64"
}
]
}