-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
111 lines (111 loc) · 3.29 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 30
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"architecture": {
"strategy": "external",
"value": "x64"
},
"binaryDir": "${sourceDir}/build/bin/${presetName}",
"cacheVariables": {
"VS_INSTALLATION_PATH": "$env{VSINSTALLDIR}",
"CMAKE_C_FLAGS": "/Oi /arch:AVX2 /fp:strict /GR- /GF /sdl /guard:cf /utf-8 /diagnostics:caret /w",
"CMAKE_CXX_FLAGS": "/std:c++20 /Oi /arch:AVX2 /fp:strict /GR- /GF /sdl /guard:cf /utf-8 /diagnostics:caret /permissive- /volatile:iso /Zf /Zc:referenceBinding /Zc:rvalueCast /Zc:strictStrings /Zc:templateScope /Zc:inline /Zc:preprocessor /Zc:enumTypes /Zc:lambda /Zc:__cplusplus /Zc:externConstexpr /Zc:throwingNew /w14165 /w44242 /w44254 /w44263 /w34265 /w34287 /w44296 /w44365 /w44388 /w44464 /w14545 /w14546 /w14547 /w14549 /w14555 /w34619 /w34640 /w24826 /w14905 /w14906 /w14928 /w45038 /wd4706 /wd4996 /wd4251 /wd4530",
"CMAKE_EXE_LINKER_FLAGS": "/MACHINE:x64",
"CMAKE_SHARED_LINKER_FLAGS": "/MACHINE:x64",
"CMAKE_STATIC_LINKER_FLAGS": "/MACHINE:x64",
"CMAKE_LINK_DIRECTORIES_BEFORE": true
},
"toolchainFile": "cmake/Windows.MSVC.toolchain.cmake",
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
]
}
}
},
{
"name": "profile",
"hidden": true,
"cacheVariables": {
"GE_PROFILING_ENABLED": true,
"TRACY_ENABLE": true,
"TRACY_ONLY_IPV4": true,
"TRACY_NO_EXIT": true,
"USE_MSVC_RUNTIME_LIBRARY_DLL": true
}
},
{
"name": "dbg",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_SHARED_LIBS": true,
"GE_BUILD_CONFIG": "DEBUG",
"GE_BUILD_ENABLE_TESTS": true,
"GE_BUILD_ENABLE_MONOLITHIC": false,
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDebugDLL",
"MSVC_RUNTIME_LIBRARY": "MultiThreadedDebugDLL",
"ENABLE_ASAN": true
}
},
{
"name": "dev",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"BUILD_SHARED_LIBS": true,
"GE_BUILD_CONFIG": "DEVELOPMENT",
"GE_BUILD_ENABLE_TESTS": true,
"GE_BUILD_ENABLE_MONOLITHIC": false,
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDebugDLL",
"MSVC_RUNTIME_LIBRARY": "MultiThreadedDebugDLL",
"ENABLE_ASAN": true
}
},
{
"name": "rel",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_SHARED_LIBS": false,
"GE_BUILD_CONFIG": "RELEASE",
"GE_BUILD_ENABLE_TESTS": false,
"GE_BUILD_ENABLE_MONOLITHIC": true,
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDLL",
"MSVC_RUNTIME_LIBRARY": "MultiThreadedDLL"
}
},
{
"name": "win64-dbg-all",
"inherits": [
"base",
"dbg",
"profile"
]
},
{
"name": "win64-dev-all",
"inherits": [
"base",
"dev",
"profile"
]
},
{
"name": "win64-rel-all",
"inherits": [
"base",
"rel"
]
}
]
}