-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCMakePresets.json
94 lines (94 loc) · 2.58 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 15,
"patch": 0
},
"configurePresets": [
{
"name": "windows-ninja-msvc",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"ETCPAL_BUILD_TESTS": true,
"ETCPAL_BUILD_EXAMPLES": true,
"ETCPAL_BUILD_MOCK_LIB": true,
"ETCPAL_ENABLE_CLANG_TIDY": true,
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe",
"CMAKE_INSTALL_PREFIX": "install"
},
"binaryDir": "${sourceDir}/build",
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
}
},
{
"name": "windows-ninja-msvc-stub-debug",
"displayName": "Windows Native Debug x64 with Ninja, MSVC, Clang-Tidy",
"inherits": "windows-ninja-msvc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"binaryDir": "${sourceDir}/build/debug"
},
{
"name": "windows-ninja-msvc-release",
"displayName": "Windows Native Release x64 with Ninja, MSVC, Clang-Tidy",
"inherits": "windows-ninja-msvc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
},
"binaryDir": "${sourceDir}/build/release"
},
{
"name": "windows-msvc",
"displayName": "Windows Visual Studio 2019 Native x64",
"generator": "Visual Studio 16 2019",
"cacheVariables": {
"ETCPAL_BUILD_TESTS": true,
"ETCPAL_BUILD_EXAMPLES": true,
"ETCPAL_BUILD_MOCK_LIB": true,
"CMAKE_INSTALL_PREFIX": "install"
},
"binaryDir": "${sourceDir}/build"
},
{
"name": "unix-makefiles",
"hidden": true,
"generator": "Unix Makefiles",
"cacheVariables": {
"ETCPAL_BUILD_TESTS": true,
"ETCPAL_BUILD_EXAMPLES": true,
"ETCPAL_BUILD_MOCK_LIB": true,
"ETCPAL_ENABLE_CLANG_TIDY": true,
"CMAKE_INSTALL_PREFIX": "install"
},
"binaryDir": "${sourceDir}/build"
},
{
"name": "unix-makefiles-debug",
"displayName": "Unix Makefiles Debug with Clang-Tidy",
"inherits": "unix-makefiles",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"binaryDir": "${sourceDir}/build/debug"
},
{
"name": "unix-makefiles-release",
"displayName": "Unix Makefiles Release with Clang-Tidy",
"inherits": "unix-makefiles",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
},
"binaryDir": "${sourceDir}/build/release"
}
]
}