summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Remove remains of qmake conversion from CMakeLists.txt filesFriedemann Kleint2023-02-091-7/+3
| | | | | | Pick-to: 6.5 Change-Id: I1e1a376363224b88354da3e30fcea877f0e82f41 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: I7cf0f0a98984e5ec6c1edb30f6ba979305c344f4 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: I07739807abcf7d8f305bb17cfdc6edefba49a2b1 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Implement CMake functions to work with IDCAlexey Edelev2021-04-271-0/+1
| | | | | | | | | | | | | | | | | | | In qmake we have an implicit execution of IDC in case the axserver config is enabled. This quite difficult to implement using CMake. This adds the following CMake functions to work with IDC: - The qt6_add_axserver_executable function adds axserver executable, generates IDL file and link the produced .tbl to the executable. - The qt6_add_axserver_library function adds axserver library, generates IDL file and link the produced .tbl to the dll. - The qt6_target_idl generates IDL file and link the produced .tbl to the executable for the existing target. This also introduces the QT_SKIP_AX_SERVER_REGISTRATION variable, which disables global registration of ActiveX servers. Change-Id: I5695db9d67dac07747894fd4bb37c3e6db408035 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix manual testsAlexey Edelev2021-04-121-2/+5
| | | | | | | | | | | | Restore the path definition to the diaglib test library and fix its usage. Add optional dependency on OpenGL OpenGLWidgets for the axviewer manual test. Pick-to: 6.1 6.1.0 Change-Id: If7692172a498556c616f78f7d477d8e3b126faed Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add qt6_target_typelibs functionAlexey Edelev2021-03-231-0/+2
| | | | | | | | | | | | | qt6_target_typelibs should replace the qmake functionality associated with the TYPELIBS variable. This function adds custom call of the dumpcpp program to generate typelib-related sources and adds the sources to the target. Pick-to: 6.1 Task-number: QTBUG-78167 Change-Id: I7b61a2b1804162e723e862945a9650a00776e678 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Enable documentation build on non-Windows platformsTopi Reinio2021-03-151-0/+12
| | | | | | | | Pick-to: 6.1 Task-number: QTBUG-91743 Change-Id: I278397bf26b8e11076530cb341420f72bda8a435 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Re-generate the CMake project filesAlexey Edelev2021-03-121-1/+1
| | | | | Change-Id: Icdfe81a51b626034bd86bf143eb1fe108603d148 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Revert "Skip module build on platform other than Windows"Oliver Wolff2021-03-051-5/+0
| | | | | | | | | | | Documentation is build on Ubuntu in Coin so we cannot completely skip the module on other platforms. This reverts commit 1099b093dc9588d67f04d250292832fdb6487eda. Pick-to: 6.1 Change-Id: Ibe34ac8592c3b5f8eb275386221310eee7a9fcd5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix toplevel CMakeLists.txtOliver Wolff2021-01-251-4/+6
| | | | | | | | | Configurations without parts of Qt should not error out, but exit the cmake call gracefully. Change-Id: Iabfa7541681afd5c7354be1c2070e6c24b858eea Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Skip module build on platform other than WindowsOliver Wolff2021-01-251-0/+5
| | | | | Change-Id: I05d4de0dfa846bb42d7f91b67ca49640aada7b59 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Initial port to cmakeFriedemann Kleint2020-05-121-0/+20
Port the 2 main libraries, examples and tests. Task-number: QTBUG-78167 Change-Id: I0d00c9fa352a96dcd0e1f42d52e6f15680abd9ed Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>