forked from TheSuperHackers/GeneralsGameCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
99 lines (99 loc) · 2.88 KB
/
CMakePresets.json
File metadata and controls
99 lines (99 loc) · 2.88 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
91
92
93
94
95
96
97
98
99
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "vc6",
"displayName": "Build Zero Hour Binaries with NMake",
"generator": "NMake Makefiles",
"hidden": false,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL",
"CMAKE_BUILD_TYPE": "Release",
"GENZH_FLAGS": "/W3"
}
},
{
"name": "default",
"displayName": "Default Config",
"generator": "Ninja Multi-Config",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:Embedded>",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL"
}
},
{
"name": "win32",
"architecture": "Win32",
"inherits": "default",
"hidden": false,
"displayName": "Win32 build",
"cacheVariables": {
"GENZH_FLAGS": "/W3"
}
},
{
"name": "unix",
"inherits": "default",
"hidden": false,
"displayName": "Non-Windows build",
"cacheVariables": {
"CMAKE_CXX_FLAGS_RELEASE": "-O2 -g -DNDEBUG",
"CMAKE_C_FLAGS_RELEASE": "-O2 -g -DNDEBUG"
}
}
],
"buildPresets": [
{
"name": "win32",
"configurePreset": "win32",
"displayName": "Build Windows build",
"description": "Build Windows build",
"configuration": "Release"
},
{
"name": "unix",
"configurePreset": "unix",
"displayName": "Build non-Windows build",
"description": "Build non-Windows build",
"configuration": "Release"
}
],
"workflowPresets": [
{
"name": "win32",
"steps": [
{
"type": "configure",
"name": "win32"
},
{
"type": "build",
"name": "win32"
}
]
},
{
"name": "unix",
"steps": [
{
"type": "configure",
"name": "unix"
},
{
"type": "build",
"name": "unix"
}
]
}
]
}