cmake: Don't build the examples when using the clazy preset

The clazy warning set is more strict for the library than for the
examples. For CI purposes and -Werror it's the library that matters.
This commit is contained in:
Sergio Martins
2021-07-03 16:24:15 +01:00
parent 614e20a183
commit 913d3b263d

View File

@@ -40,7 +40,8 @@
"binaryDir": "${sourceDir}/build-clazy-qtwidgets",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"KDDockWidgets_WERROR": "ON"
"KDDockWidgets_WERROR": "ON",
"KDDockWidgets_EXAMPLES" : "OFF"
},
"environment": {
"CXX": "clazy",
@@ -54,6 +55,7 @@
"binaryDir": "${sourceDir}/build-clazy-qtquick",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"KDDockWidgets_EXAMPLES" : "OFF",
"KDDockWidgets_WERROR": "ON",
"KDDockWidgets_QTQUICK": "ON"
},