Skip to content

Commit

Permalink
chore: Add CMakePresets.json
Browse files Browse the repository at this point in the history
Added developer and release presets for Qt5, Qt6 with and without
internal graphviz
  • Loading branch information
iamsergio committed Nov 15, 2024
1 parent ce2ed27 commit b37f4bb
Showing 1 changed file with 111 additions and 0 deletions.
111 changes: 111 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
]
}

0 comments on commit b37f4bb

Please sign in to comment.