-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakePresets.json
58 lines (58 loc) · 1.91 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
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "windows-configure",
"displayName": "Windows Configure",
"description": "Default build using MSVC generator",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/windows",
"installDir": "${sourceDir}/install/windows",
"cacheVariables": {
"CSPICE_INCLUDE_DIR": {
"type": "FILEPATH",
"value": "${sourceDir}/cspice/include"
},
"CSPICE_LIBRARY_RELEASE": {
"type": "FILEPATH",
"value": "${sourceDir}/cspice/lib/cspice.lib"
}
}
},
{
"name": "linux-configure",
"displayName": "Linux Configure",
"description": "Using compilers: C = /usr/bin/gcc, CXX = /usr/bin/g++",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "/usr/bin/gcc",
"CMAKE_CXX_COMPILER": "/usr/bin/g++",
"CMAKE_BUILD_TYPE": "Debug",
"CSPICE_INCLUDE_DIR": {
"type": "FILEPATH",
"value": "${sourceDir}/cspice/include"
},
"CSPICE_LIBRARY_RELEASE": {
"type": "FILEPATH",
"value": "${sourceDir}/cspice/lib/cspice.a"
}
}
}
],
"buildPresets": [
{
"name": "windows-build",
"configurePreset": "windows-configure"
},
{
"name": "linux-build",
"configurePreset": "linux-configure"
}
]
}