-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
43 lines (43 loc) · 1.37 KB
/
Copy pathCMakePresets.json
File metadata and controls
43 lines (43 loc) · 1.37 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
40
41
42
43
{
"version": 6,
"configurePresets": [
{
"name": "ide",
"displayName": "IDE (CLion navigation only)",
"description": "Local profile for code navigation and test visibility. Not for actual builds.",
"binaryDir": "${sourceDir}/cmake-build-ide",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTS": "ON"
}
},
{
"name": "cross-release",
"displayName": "Docker: Cross-compile Release",
"description": "For use inside Docker only (MinGW)",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/cmake-build-cross-release",
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "Windows",
"CMAKE_C_COMPILER": "x86_64-w64-mingw32-gcc",
"CMAKE_CXX_COMPILER": "x86_64-w64-mingw32-g++",
"CMAKE_BUILD_TYPE": "Release",
"BUILD_TESTS": "OFF"
}
},
{
"name": "cross-debug",
"displayName": "Docker: Cross-compile Debug + Tests",
"description": "For use inside Docker only (MinGW + Wine)",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/cmake-build-cross-debug",
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "Windows",
"CMAKE_C_COMPILER": "x86_64-w64-mingw32-gcc",
"CMAKE_CXX_COMPILER": "x86_64-w64-mingw32-g++",
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTS": "ON"
}
}
]
}