diff options
Diffstat (limited to 'CMakePresets.json')
| -rw-r--r-- | CMakePresets.json | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/CMakePresets.json b/CMakePresets.json index fd88d3c..0e5dd88 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -4,7 +4,7 @@ { "name": "base", "hidden": true, - "binaryDir": "${sourceDir}/build", + "binaryDir": "${sourceDir}/build/${presetName}", "generator": "Ninja Multi-Config", "cacheVariables": { "CMAKE_CONFIGURATION_TYPES": "Debug;MinSizeRel", @@ -14,13 +14,17 @@ }, { "name": "x86_64", + "description": "Target 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" + "BUILD_TESTING": false } + }, + { + "name": "bht", + "inherits": "base", + "description": "Build-host Testing" } ], "buildPresets": [ @@ -33,6 +37,17 @@ "name": "x86_64-rel", "configurePreset": "x86_64", "configuration": "MinSizeRel" + }, + { + "name": "bht-dbg", + "configurePreset": "bht", + "configuration": "Debug" + } + ], + "testPresets": [ + { + "name": "bht-dbg", + "configurePreset": "bht" } ] -} +}
\ No newline at end of file |
