-
Notifications
You must be signed in to change notification settings - Fork 277
/
CMakePresets.json
74 lines (74 loc) · 2.79 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
{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "windows-tiles-sounds-x64-msvc",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"displayName": "Windows Tiles Sounds x64 MSVC",
"description": "Target Windows (64-bit) with the Visual Studio 2019 development environment.",
"generator": "Visual Studio 16 2019",
"cacheVariables": {
"CMAKE_PROJECT_INCLUDE_BEFORE": "${sourceDir}/build-scripts/${presetName}.cmake",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/build-scripts/MSVC.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"DYNAMIC_LINKING": "False",
"CMAKE_CONFIGURATION_TYPES": "Debug;RelWithDebInfo;Release",
"CURSES": "False", "LOCALIZE": "True", "TILES": "True", "SOUND": "True", "LUA": "True", "TESTS": "True",
"CMAKE_INSTALL_MESSAGE": "NEVER"
}
},
{
"name": "windows-tiles-sounds-x64-msvc-2022",
"inherits": ["windows-tiles-sounds-x64-msvc"],
"binaryDir": "${sourceDir}/out/build/${presetName}",
"displayName": "Windows Tiles Sounds x64 MSVC 2022",
"description": "Target Windows (64-bit) with the Visual Studio 2022 development environment.",
"generator": "Visual Studio 17 2022",
"cacheVariables": {
"CMAKE_PROJECT_INCLUDE_BEFORE": "${sourceDir}/build-scripts/windows-tiles-sounds-x64-msvc.cmake"
}
},
{
"name": "linux-tiles-sounds-x64",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"displayName": "Linux Tiles Sounds x64",
"description": "Target Linux (64-bit) with the GCC development environment.",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"DYNAMIC_LINKING": "True", "CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CURSES": "False", "LOCALIZE": "True", "TILES": "True", "SOUND": "True", "LUA": "True", "TESTS": "False",
"CMAKE_INSTALL_MESSAGE": "NEVER"
}
},
{
"name": "linux-tiles-sounds-x64-vcpkg",
"inherits": ["linux-tiles-sounds-x64"],
"displayName": "Linux Tiles Sounds x64 VCPKG",
"description": "Target Linux (64-bit) with the GCC development environment and VCPKG.",
"generator": "Ninja Multi-Config",
"environment": {
"VCPKG_ROOT": "/usr/local/vcpkg"
},
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-linux",
"VCPKG_MANIFEST_DIR": "${sourceDir}/msvc-full-features/"
}
}
],
"buildPresets": [
{
"name": "linux-tiles-sounds-x64",
"configurePreset": "linux-tiles-sounds-x64"
},
{
"name": "linux-tiles-sounds-x64-vcpkg",
"configurePreset": "linux-tiles-sounds-x64-vcpkg"
}
]
}