diff --git a/CMakePresets.json b/CMakePresets.json new file mode 100644 index 00000000..73e37259 --- /dev/null +++ b/CMakePresets.json @@ -0,0 +1,111 @@ +{ + "version": 3, + "configurePresets": [ + { + "name": "base", + "hidden": true, + "generator": "Ninja", + "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", + "BUILD_DOCS": "OFF" + } + }, + { + "name": "dev-base", + "description": "dev-base", + "hidden": true, + "inherits": "base", + "binaryDir": "${sourceDir}/build-dev", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "BUILD_TESTS": "ON" + } + }, + { + "name": "dev5-internal-graphviz", + "description": "Qt5 dev build with internal graphviz", + "inherits": "dev-base", + "binaryDir": "${sourceDir}/build-dev5-internal-graphviz", + "cacheVariables": { + "WITH_INTERNAL_GRAPHVIZ": "ON" + } + }, + { + "name": "dev5", + "description": "Qt5 dev build", + "inherits": "dev-base", + "binaryDir": "${sourceDir}/build-dev5", + "cacheVariables": { + "WITH_INTERNAL_GRAPHVIZ": "OFF" + } + }, + { + "name": "dev6-internal-graphviz", + "description": "Qt6 dev build with internal graphviz", + "inherits": "dev-base", + "binaryDir": "${sourceDir}/build-dev6-internal-graphviz", + "cacheVariables": { + "BUILD_QT6" : "ON", + "WITH_INTERNAL_GRAPHVIZ": "ON" + } + }, + { + "name": "dev6", + "description": "Qt6 dev build", + "inherits": "dev-base", + "binaryDir": "${sourceDir}/build-dev6", + "cacheVariables": { + "BUILD_QT6" : "ON", + "WITH_INTERNAL_GRAPHVIZ": "OFF" + } + }, + { + "name": "rel-base", + "description": "rel-base", + "inherits": "base", + "hidden": true, + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release", + "BUILD_TESTS": "OFF" + } + }, + { + "name": "rel5-internal-graphviz", + "description": "Qt5 release build with internal graphviz", + "inherits": "rel-base", + "binaryDir": "${sourceDir}/build-rel5-internal-graphviz", + "cacheVariables": { + "WITH_INTERNAL_GRAPHVIZ": "ON" + } + }, + { + "name": "rel5", + "description": "Qt5 release build", + "inherits": "rel-base", + "binaryDir": "${sourceDir}/build-rel5", + "cacheVariables": { + "WITH_INTERNAL_GRAPHVIZ": "OFF" + } + }, + { + "name": "rel6-internal-graphviz", + "description": "Qt6 release build with internal graphviz", + "inherits": "rel-base", + "binaryDir": "${sourceDir}/build-rel6-internal-graphviz", + "cacheVariables": { + "BUILD_QT6" : "ON", + "WITH_INTERNAL_GRAPHVIZ": "ON" + } + }, + { + "name": "rel6", + "description": "Qt6 release build", + "inherits": "rel-base", + "binaryDir": "${sourceDir}/build-rel6", + "cacheVariables": { + "BUILD_QT6" : "ON", + "WITH_INTERNAL_GRAPHVIZ": "OFF" + } + } + ] +}