-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakePresets.json
More file actions
71 lines (71 loc) · 2.59 KB
/
Copy pathCMakePresets.json
File metadata and controls
71 lines (71 loc) · 2.59 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "linux-release",
"displayName": "Linux Release (Ninja + VCPKG)",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/linux-release",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/external/vcpkg/scripts/buildsystems/vcpkg.cmake",
"CMAKE_BUILD_TYPE": "Release",
"VCPKG_TARGET_TRIPLET": "x64-linux",
"VCPKG_OVERLAY_PORTS": "${sourceDir}/cmake/vcpkg-ports",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/vcpkg-triplets",
"VCPKG_INSTALLED_DIR": "${sourceDir}/build/vcpkg_installed/linux"
}
},
{
"name": "linux-debug",
"displayName": "Linux Debug (Ninja + VCPKG)",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/linux-debug",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/external/vcpkg/scripts/buildsystems/vcpkg.cmake",
"CMAKE_BUILD_TYPE": "Debug",
"VCPKG_TARGET_TRIPLET": "x64-linux",
"VCPKG_OVERLAY_PORTS": "${sourceDir}/cmake/vcpkg-ports",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/vcpkg-triplets",
"VCPKG_INSTALLED_DIR": "${sourceDir}/build/vcpkg_installed/linux"
}
},
{
"name": "windows",
"displayName": "Windows (VS2022 + VCPKG)",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/windows",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/external/vcpkg/scripts/buildsystems/vcpkg.cmake",
"CMAKE_GENERATOR_TOOLSET": "v143",
"CMAKE_GENERATOR_PLATFORM": "x64",
"VCPKG_TARGET_TRIPLET": "x64-windows",
"VCPKG_INSTALLED_DIR": "${sourceDir}/build/vcpkg_installed/windows"
}
}
],
"buildPresets": [
{
"name": "linux-debug",
"configurePreset": "linux-debug"
},
{
"name": "linux-release",
"configurePreset": "linux-release"
},
{
"name": "windows-debug",
"configurePreset": "windows",
"configuration": "Debug"
},
{
"name": "windows-release",
"configurePreset": "windows",
"configuration": "Release"
}
]
}