-
Notifications
You must be signed in to change notification settings - Fork 33
/
CMakePresets.json
53 lines (46 loc) · 1.53 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
{
"version": 4,
"cmakeMinimumRequired": {
"major": 3,
"minor": 11,
"patch": 0
},
"configurePresets": [
{
"name": "windows-base",
"hidden": true,
"description": "Sets Visual Studio generator, build directory",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"type": "FILEPATH"
},
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/custom-triplets",
"VCPKG_TARGET_TRIPLET": "x64-windows-mmx",
"CMAKE_LIBRARY_OUTPUT_DIRECTORY": "${sourceDir}/build/${presetName}/!bin",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY": "${sourceDir}/build/${presetName}/!bin",
"MMX_WIN_PACK": "$env{MMX_WIN_PACK}"
}
},
{
"name": "windows-default",
"displayName": "Windows x64",
"inherits": "windows-base",
"cacheVariables": {
"MMX_VERSION": "$env{MMX_VERSION}"
},
"warnings": {
"dev": false
}
}
],
"buildPresets": [
{
"name": "windows-default",
"configurePreset": "windows-default",
"configuration": "Release"
}
]
}