-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakePresets.json
73 lines (73 loc) · 1.74 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "Ninja_build",
"displayName": "Ninja build",
"description": "Ninja build using vcpkg",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"installDir": "${sourceDir}/build/install/$env{doodle_install_prefix}",
"toolchainFile": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "v142,host=x64,version=14",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_EXPORT_COMPILE_COMMANDS": true
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
],
"disableExternalAnalysis": true
}
},
"cmakeExecutable": "C:/Program Files/CMake/bin/cmake.exe",
"hidden": true
},
{
"name": "Ninja_release",
"inherits": "Ninja_build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Ninja_debug",
"inherits": "Ninja_build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"Boost_NO_WARN_NEW_VERSIONS": true
}
}
],
"buildPresets": [
{
"name": "build_release",
"description": "构建 exe",
"displayName": "构建 exe",
"configurePreset": "Ninja_release",
"jobs": 10,
"targets": [
"sing_box_config",
"install",
"package"
]
}
],
"testPresets": [],
"vendor": {}
}