Skip to content

Commit 521cc70

Browse files
committed
build: bootstrap script
The bootstrap script provides a single source of truth for the installation steps described in install.adoc.
1 parent 26d4c50 commit 521cc70

File tree

3 files changed

+874
-14
lines changed

3 files changed

+874
-14
lines changed

CMakePresets.json

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,24 @@
88
"configurePresets": [
99
{
1010
"name": "debug",
11-
"displayName": "Debug-Base",
12-
"description": "Debug Config including tests.",
11+
"description": "Debug configuration with the default system compiler, including tests. The path to dependencies is set via environment variables.",
12+
"displayName": "Debug",
1313
"binaryDir": "${sourceDir}/build/${presetName}",
1414
"cacheVariables": {
1515
"CMAKE_BUILD_TYPE": "Debug",
1616
"CMAKE_CXX_STANDARD": "20",
1717
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
1818
"LLVM_ROOT": "$env{LLVM_ROOT}",
1919
"Clang_ROOT": "$env{LLVM_ROOT}",
20+
"duktape_ROOT": "$env{DUKTAPE_ROOT}",
21+
"Duktape_ROOT": "$env{DUKTAPE_ROOT}",
22+
"fmt_ROOT": "$env{FMT_ROOT}",
23+
"libxml2_ROOT": "$env{LIBXML2_ROOT}",
24+
"LibXml2_ROOT": "$env{LIBXML2_ROOT}",
2025
"MRDOCS_BUILD_TESTS": "ON",
21-
"VCPKG_MANIFEST_FEATURES": "tests"
26+
"MRDOCS_BUILD_DOCS": "OFF",
27+
"MRDOCS_GENERATE_REFERENCE": "OFF",
28+
"MRDOCS_GENERATE_ANTORA_REFERENCE": "OFF"
2229
},
2330
"vendor": {
2431
"microsoft.com/VisualStudioSettings/CMake/1.0": {
@@ -32,33 +39,32 @@
3239
},
3340
{
3441
"name": "release",
42+
"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.",
3543
"inherits": "debug",
36-
"displayName": "Release-Base",
37-
"description": "Release Config including tests.",
44+
"displayName": "Release",
3845
"binaryDir": "${sourceDir}/build/${presetName}",
3946
"cacheVariables": {
4047
"CMAKE_BUILD_TYPE": "Release"
4148
}
4249
},
4350
{
4451
"name": "relwithdebinfo",
52+
"displayName": "RelWithDebInfo",
53+
"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.",
4554
"inherits": "release",
46-
"displayName": "RelWithDebInfo-Base",
47-
"description": "RelWithDebInfo Config including tests.",
4855
"binaryDir": "${sourceDir}/build/${presetName}",
4956
"cacheVariables": {
5057
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
5158
}
5259
},
5360
{
5461
"name": "dist",
55-
"inherits": "release",
5662
"displayName": "Distribution-Base",
57-
"description": "Release Config without Tests.",
63+
"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.",
64+
"inherits": "release",
5865
"binaryDir": "${sourceDir}/build/${presetName}",
5966
"cacheVariables": {
60-
"MRDOCS_BUILD_TESTS": "OFF",
61-
"VCPKG_MANIFEST_FEATURES": ""
67+
"MRDOCS_BUILD_TESTS": "OFF"
6268
}
6369
}
6470
]

0 commit comments

Comments
 (0)