summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-251-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: Ia8401e033fc4b7414e798d1cc5da90977ad5f29b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-071-0/+3
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I775b4a5dd13b8e930cef494af42f81ec6f8b242a Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CMake: Bump almost all cmake_minimum_required calls to 3.16Alexandru Croitor2021-09-221-1/+1
| | | | | | | | | | | | | Needed for subsequent change that will check and error out if the version is lower than 3.16. We do that to ensure all policies introduced by CMake up to version 3.16 have their behavior set to NEW. Pick-to: 6.2 Task-number: QTBUG-95018 Change-Id: I50cded6a5d68fda9fc4c0907f08ca777ad15f367 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Remove unneeded CMake variable assignmentsJoerg Bornemann2021-06-141-6/+0
| | | | | | | | | | | | Remove assignments to the transitionary variables QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS and QT_USE_FIXED_QT_ADD_RESOURCE_BASE. Both are not needed anymore. Task-number: QTBUG-94444 Change-Id: I57bff906ea18f12ce0a011ff06ff7913f4d0261c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Disable usage of CMake API compatibility wrappersJoerg Bornemann2021-05-251-0/+3
| | | | | | | | | | Setting the QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS variable in the project ensures we ported away from old API calls. Task-number: QTBUG-86815 Change-Id: I58d7107f556e2f06ecf5b47fab65ccec7d929b6d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Use fixed qt_add_resource BASE argumentJoerg Bornemann2021-05-201-0/+3
| | | | | | | Pick-to: 6.1 Task-number: QTBUG-86726 Change-Id: I8372086c40043a6bd1d306b6bfb711e96ddc7cb7 Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
* CMake: Fix CMake build for open62541Jannis Voelker2020-08-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Fix -Wno flags to be assigned to the correct property as a list of values. Remove unnecessary Q_DECLARE_METATYPE because the type is already registered automatically somewhere. Fix standalone example using private API and not having the C language enabled. Remove optimization flags for open62541.c like the qmake project does, to circumvent some miscompilation on MSVC which makes the test server not start, and thus hangs CI integrations. We do this for the test and example, but not the plugin, just to be safe for now. It's done by a public OpcUA function called qt_opcua_disable_optimizations_in_current_dir. Regenerate some projects that used old APIs. Task-number: QTBUG-85939 Change-Id: I2aea0e64371e99da3e2330f477c754728a8a5dd5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>
* Add CMake support for building Qt OPC UAJannis Voelker2020-06-041-0/+26
Change-Id: I1cf9c7f4914a665d7a057950eb6528929034e039 Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>