-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathCMakePresets.json
More file actions
72 lines (72 loc) · 2.55 KB
/
CMakePresets.json
File metadata and controls
72 lines (72 loc) · 2.55 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
72
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 10,
"patch": 0
},
"configurePresets": [
{
"name": "debug",
"description": "Debug configuration with the default system compiler, including tests. The path to dependencies is set via environment variables.",
"displayName": "Debug",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"LLVM_ROOT": "$env{LLVM_ROOT}",
"Clang_ROOT": "$env{LLVM_ROOT}",
"jerryscript_ROOT": "$env{JERRYSCRIPT_ROOT}",
"libxml2_ROOT": "$env{LIBXML2_ROOT}",
"LibXml2_ROOT": "$env{LIBXML2_ROOT}",
"MRDOCS_BUILD_TESTS": "ON",
"MRDOCS_BUILD_DOCS": "OFF",
"MRDOCS_GENERATE_REFERENCE": "OFF",
"MRDOCS_GENERATE_ANTORA_REFERENCE": "OFF"
},
"warnings": {
"unusedCli": false
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Linux",
"macOS"
],
"intelliSenseMode": "windows-msvc-x64"
}
}
},
{
"name": "release",
"description": "Release configuration with the default system compiler, including tests. The path to dependencies is set via environment variables. This is used in CI to generate the default release.",
"inherits": "debug",
"displayName": "Release",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "relwithdebinfo",
"displayName": "RelWithDebInfo",
"description": "RelWithDebInfo configuration with the default system compiler, including tests. The path to dependencies is set via environment variables. This is used in CI to generate the default release on Windows.",
"inherits": "release",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "dist",
"displayName": "Distribution-Base",
"description": "Distribution base configuration with the default system compiler, not including tests. The path to dependencies is set via environment variables. This can be used by users to generate a distribution bypassing the CMake test step.",
"inherits": "release",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"MRDOCS_BUILD_TESTS": "OFF"
}
}
]
}