aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/cplusplus/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Add -fPIC also for OBJECT librariesCristian Adam2023-05-121-1/+0
| | | | | | | | | | add_qtc_library would have set the POSITION_INDEPENDENT_CODE property for STATIC libraries on UNIX based systems. The OBJECT libraries need the same treatment. Change-Id: Ia333a36ea0f35d7db3ed876cdde5b895b47644c7 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMake build: Use version-less Qt targetsEike Ziller2023-01-051-1/+1
| | | | | | | | | Since we do not support Qt < 5.15 anymore, and as a first step for getting rid of our special FindQt5.cmake. Change-Id: Icc5dbaf9b0a3a622b1f609ff114b9decb6d2856c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* cplusplus: Disable warningMarcus Tillmanns2022-08-041-0/+4
| | | | | Change-Id: I08f3b40afc50903304627aeb788c60fcbafdd288 Reviewed-by: hjk <hjk@qt.io>
* CMake: Qt Creator Static build supportCristian Adam2022-04-291-1/+6
| | | | | | | | | | | | | | | | | | | This adds the build system feature that allows Qt Creator's libraries and plugins to be compiled statically. Fixes some symbol clashes when all plugins are linked into the same executable. Support for actually loading static plugins will be added in a separate commit. The feature is controlled by QTC_STATIC_BUILD which by default is OFF. Change-Id: I1fab7953c43e42dc75619e35660029ee067106df Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* CMake build: Force optimization of CPlusPlus libEike Ziller2021-06-221-0/+9
| | | | | | | | | | | Even in the debug build, as done for the qmake build system. This is for performance optimization of this critical part for C++ parsing even in debug / developer builds. Change-Id: I9552ba9fc44e213f2df1d2d2a64a126af3603fd1 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CMake build: Fix issues with exported targetsEike Ziller2020-10-061-1/+0
| | | | | | | | | | Remove unneeded and wrong include paths which ended up as invalid include paths in the exported QtCreatorTargets.cmake. Add missing sqlite header. Change-Id: Icce60037160ff06b032a03df47e6834422f86f57 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CMake build: Add "Devel" packageCristian Adam2019-07-251-1/+1
| | | | | | | | | The "Devel" package will contain headers, libraries, documentation needed by the 3rd parties to build Qt Creator plugins. Fixes: QTCREATORBUG-22514 Change-Id: If54929f823982b921b98a63ff6085d53618a3a49 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMake build: Fix PIC issue with 3rd_cplusplusCristian Adam2019-05-201-0/+1
| | | | | | | | | | 3rd_cplusplus is an OBJECT library, which will end up into CPlusPlus, which is a shared library, it's safe to set PIC to ON. Fixes https://bugreports.qt.io/browse/QTCREATORBUG-22465 Change-Id: I6ef9bf8c73102a3a5996c0fee7b1fe25e6aa677f Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Qt Creator CMake portCristian Adam2019-05-171-0/+45
Based on Tobias Hunger's work from a few months ago. The CMake configuration needs libclang and Qt paths specified as CMAKE_PREFIX_PATH. Auto tests are run with "ctest". At the moment the pass rate is 87%. Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>