diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-19 17:37:30 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-21 13:51:19 +0000 |
commit | a25f9a15076782154bf7cf58e3c5af29a7b6653e (patch) | |
tree | 36e3abdc4bcfa9de59c33d97e66ab56e5455dcd1 /cmake/QtSetup.cmake | |
parent | 632d014afd5a3c1a40fc67cf0fc78d8c80d3da8f (diff) |
cmake: Start adding compiler flags
Only has warnings for now
Next to come is the support for developer-build and enabling Werror
Change-Id: I8070dc06eb439c2a03007cce975c8147ff7e1582
Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
Diffstat (limited to 'cmake/QtSetup.cmake')
-rw-r--r-- | cmake/QtSetup.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake index a90f12d0c2..caf908b4c9 100644 --- a/cmake/QtSetup.cmake +++ b/cmake/QtSetup.cmake @@ -42,6 +42,9 @@ include(QtFeature) ## Compiler optimization flags: include(QtCompilerOptimization) +## Compiler flags: +include(QtCompilerFlags) + ## Find host tools (if non native): set(HOST_QT_TOOLS_DIRECTORY "" CACHE PATH "Directory with Qt host tools.") |