-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCMakePresets.json
More file actions
90 lines (90 loc) · 3.06 KB
/
Copy pathCMakePresets.json
File metadata and controls
90 lines (90 loc) · 3.06 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"version": 3,
"configurePresets": [
{
"name": "windows-msvc-base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl.exe",
"BOOST_ROOT": "$env{BOOST_ROOT}",
"SNAP_BUILD_GUI": "OFF"
}
},
{
"name": "windows-msvc-debug",
"displayName": "Windows x64 Debug (MSVC)",
"inherits": "windows-msvc-base",
"binaryDir": "${sourceDir}/build/windows-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "windows-msvc-release",
"displayName": "Windows x64 Release (MSVC)",
"inherits": "windows-msvc-base",
"binaryDir": "${sourceDir}/build/windows-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "windows-msvc-debug-gui",
"displayName": "Windows x64 Debug with GUI (MSVC)",
"inherits": "windows-msvc-debug",
"binaryDir": "${sourceDir}/build/windows-debug-gui",
"cacheVariables": {
"SNAP_BUILD_GUI": "ON",
"wxWidgets_ROOT_DIR": "$env{WXWIN}",
"wxWidgets_LIB_DIR": "$env{WXWIN}/lib/vc_x64_lib",
"wxWidgets_USE_REL_AND_DBG": "OFF"
}
},
{
"name": "windows-msvc-release-gui",
"displayName": "Windows x64 Release with GUI (MSVC)",
"inherits": "windows-msvc-release",
"binaryDir": "${sourceDir}/build/windows-release-gui",
"cacheVariables": {
"SNAP_BUILD_GUI": "ON",
"wxWidgets_ROOT_DIR": "$env{WXWIN}",
"wxWidgets_LIB_DIR": "$env{WXWIN}/lib/vc_x64_lib",
"wxWidgets_USE_REL_AND_DBG": "OFF"
}
}
,
{
"name": "windows-mingw-release",
"displayName": "Windows x64 Release (MinGW-w64 cross-compile)",
"generator": "Unix Makefiles",
"toolchainFile": "${sourceDir}/cmake/toolchain-mingw-w64.cmake",
"binaryDir": "${sourceDir}/build/windows-mingw-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BOOST_ROOT": "$env{BOOST_ROOT}",
"BOOST_LIBRARYDIR": "$env{BOOST_ROOT}/stage-mingw/lib",
"Boost_NO_SYSTEM_PATHS": "ON",
"SNAP_BUILD_GUI": "OFF"
}
},
{
"name": "windows-mingw-release-gui",
"displayName": "Windows x64 Release with GUI (MinGW-w64 cross-compile)",
"inherits": "windows-mingw-release",
"binaryDir": "${sourceDir}/build/windows-mingw-release-gui",
"cacheVariables": {
"SNAP_BUILD_GUI": "ON",
"wxWidgets_CONFIG_EXECUTABLE": "$env{WX_MINGW_CONFIG}"
}
}
],
"buildPresets": [
{"name": "windows-msvc-debug", "configurePreset": "windows-msvc-debug"},
{"name": "windows-msvc-release", "configurePreset": "windows-msvc-release"},
{"name": "windows-msvc-debug-gui", "configurePreset": "windows-msvc-debug-gui"},
{"name": "windows-msvc-release-gui", "configurePreset": "windows-msvc-release-gui"},
{"name": "windows-mingw-release", "configurePreset": "windows-mingw-release"},
{"name": "windows-mingw-release-gui", "configurePreset": "windows-mingw-release-gui"}
]
}