-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
38 lines (38 loc) · 920 Bytes
/
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
{
"version": 2,
"configurePresets": [
{
"name": "default",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
}
},
{
"name": "linux-wsl",
"inherits": "default",
"generator": "Unix Makefiles",
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [ "Linux" ]
},
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
"sourceDir": "$env{HOME}/.vs/$ms{projectDirName}"
}
},
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-linux"
}
},
{
"name": "macos",
"inherits": "default",
"generator": "Ninja",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "arm64-osx"
}
}
]
}