summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-01-04 09:04:41 +0100
committerKai Köhne <kai.koehne@qt.io>2022-02-17 13:03:03 +0100
commit1bff75443d292ed3121c9fafed43c6a44232bf86 (patch)
tree2a6099deedd837c1866f96f1f4d813ec0f6fa13e
parentfcb679fda3cabd74287fe6e38a62612894d20aa6 (diff)
downloadqttools-1bff75443d292ed3121c9fafed43c6a44232bf86.tar.gz
Compile repo with warnings as errors
Let the compilation fail if new warnings are introduced for developer builds & supported compilers. Change-Id: I45653c1a0576cf7ef27c70bfe07de202e9311df3 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit f485079c843ed1d28e7f5546f468f2af94cdec69) Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-rw-r--r--CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad74c4ce3..ec9a28208 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,9 +10,6 @@ project(QtTools # special case
LANGUAGES CXX C
)
-# special case begin
-set(QT_REPO_NOT_WARNINGS_CLEAN TRUE)
-
# Make sure we only use latest private CMake API, aka no compatibility wrappers.
set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE)
@@ -29,7 +26,6 @@ find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Co
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS
DBus Xml Widgets Quick QuickWidgets QmlDevToolsPrivate
Sql PrintSupport OpenGL OpenGLWidgets ${optional_components})
-# special case end
qt_build_repo()