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:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user