-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakePresets.json
131 lines (131 loc) · 5.51 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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"version": 2,
"buildPresets": [
{
"name": "win-x64-debug",
"configurePreset": "win-x64-debug",
"configuration": "Debug",
"displayName": " Windows x64 Debug",
"description": "Target Windows x64 in Debug mode"
},
{
"name": "win-x64-release",
"configurePreset": "win-x64-release",
"configuration": "Release",
"displayName": " Windows x64 Release",
"description": "Target Windows x64 in Release mode (static build) and disable application console window."
},
{
"name": "win-x64-release-minsize",
"configurePreset": "win-x64-release-minsize",
"configuration": "MinSizeRel",
"displayName": " Windows x64 Release MinSize",
"description": "Target Windows x64 in Release mode (static build), optimized for size and disable application console window."
},
{
"name": "win-x64-release-w-profiling",
"configurePreset": "win-x64-release-w-profiling",
"configuration": "RelWithDebInfo",
"displayName": " Windows x64 Release +Profiling +Console +DebugInfo",
"description": "Target Windows x64 in Release mode (static build), enable console, debug info and profiling with Tracy. DO NOT PROFILE WITH A DEBUGGER ATTACHED, IT IMPACTS TIMINGS!"
}
],
"configurePresets": [
{
"name": "win-x64-debug",
"displayName": " Windows x64 Debug",
"description": "Target Windows x64 in Debug mode",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/out/openssl/${presetName}/conan_toolchain.cmake"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
]
},
"jetbrains.com/clion": {
"toolchain": "Visual Studio"
}
}
},
{
"name": "win-x64-release",
"inherits": "win-x64-debug",
"displayName": " Windows x64 Release",
"description": "Target Windows x64 in Release mode (static build) and disable application console window.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"MAGNUM_BUILD_STATIC": {
"type": "BOOL",
"value": "ON"
},
"MAGNUM_BUILD_PLUGINS_STATIC": {
"type": "BOOL",
"value": "ON"
},
"CORRADE_BUILD_STATIC": {
"type": "BOOL",
"value": "ON"
},
"DZSIM_DISABLE_CONSOLE_WINDOW": {
"type": "BOOL",
"value": "ON"
}
}
},
{
"name": "win-x64-release-minsize",
"inherits": "win-x64-release",
"displayName": " Windows x64 Release MinSize",
"description": "Target Windows x64 in Release mode (static build), optimized for size and disable application console window.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "MinSizeRel"
}
},
{
"name": "win-x64-release-w-profiling",
"inherits": "win-x64-release",
"displayName": " Windows x64 Release +Profiling +Console +DebugInfo",
"description": "Target Windows x64 in Release mode (static build), enable console, debug info and profiling with Tracy. DO NOT PROFILE WITH A DEBUGGER ATTACHED, IT IMPACTS TIMINGS!",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"DZSIM_DISABLE_CONSOLE_WINDOW": {
"type": "BOOL",
"value": "OFF"
},
"TRACY_ENABLE": {
"type": "BOOL",
"value": "ON"
}
}
},
{
"name": "BASE-emscripten-wasm-release",
"hidden": true,
"description": "See BUILDING.md for details on building for the web. This preset is supposed to be inherited from a preset in CMakeUserPresets.json to specify where Emscripten is installed and where the final web files should get installed to.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"EMSCRIPTEN_PREFIX": "/YOUR/EMSCRIPTEN/INSTALLATION/emsdk/upstream/emscripten",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/thirdparty/toolchains/generic/Emscripten-wasm.cmake",
"CORRADE_RC_EXECUTABLE": "${sourceDir}/out/build/win-x64-release/Release/bin/corrade-rc.exe",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_BUILD_TYPE": "Release",
"MAGNUM_TARGET_GLES2": {
"type": "BOOL",
"value": "OFF"
},
"DZSIM_WEB_PORT": "1"
}
}
]
}