aboutsummaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json25
1 files changed, 18 insertions, 7 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
index b01208a..fd88d3c 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -2,25 +2,36 @@
"version": 6,
"configurePresets": [
{
- "name": "default",
+ "name": "base",
+ "hidden": true,
"binaryDir": "${sourceDir}/build",
"generator": "Ninja Multi-Config",
- "toolchainFile": "${workspaceFolder}/cmake/Platforms/x86_64.cmake",
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Debug;MinSizeRel",
- "CMAKE_EXPORT_COMPILE_COMMANDS": "YES"
+ "CMAKE_EXPORT_COMPILE_COMMANDS": true,
+ "CMAKE_VERIFY_INTERFACE_HEADER_SETS": true
+ }
+ },
+ {
+ "name": "x86_64",
+ "inherits": "base",
+ "toolchainFile": "cmake/Platforms/x86_64.cmake",
+ "cacheVariables": {
+ "TEACHOS_PLATFORM_FRAME_SIZE": "4096",
+ "TEACHOS_PLATFORM_PAGE_SIZE": "4096",
+ "TEACHOS_PLATFORM_PAGING_LEVELS": "4"
}
}
],
"buildPresets": [
{
- "name": "debug",
- "configurePreset": "default",
+ "name": "x86_64-dbg",
+ "configurePreset": "x86_64",
"configuration": "Debug"
},
{
- "name": "release",
- "configurePreset": "default",
+ "name": "x86_64-rel",
+ "configurePreset": "x86_64",
"configuration": "MinSizeRel"
}
]