diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-05-12 22:20:56 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-05-17 13:33:28 +0000 |
commit | d855b84c5df923394ace3bb91dab379f7e0daa34 (patch) | |
tree | e184ccdf5724151465a1653f9fc308af43293de8 /src/plugins/qbsprojectmanager | |
parent | f872a95fddd2690bb6953a17e48935c1b12d83d9 (diff) | |
download | qt-creator-d855b84c5df923394ace3bb91dab379f7e0daa34.tar.gz |
Qt Creator CMake port
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>
Diffstat (limited to 'src/plugins/qbsprojectmanager')
-rw-r--r-- | src/plugins/qbsprojectmanager/CMakeLists.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/plugins/qbsprojectmanager/CMakeLists.txt b/src/plugins/qbsprojectmanager/CMakeLists.txt new file mode 100644 index 0000000000..e02a516f1a --- /dev/null +++ b/src/plugins/qbsprojectmanager/CMakeLists.txt @@ -0,0 +1,38 @@ +find_package(Qbs) + +add_qtc_plugin(QbsProjectManager + CONDITION TARGET Qbs::QbsCore + DEPENDS Qbs::QbsCore Qt5::Widgets qmljs + DEFINES + QBS_INSTALL_DIR="${QBS_INSTALL_DIR}" + IDE_LIBRARY_BASENAME="${IDE_LIBRARY_BASE_PATH}" + PLUGIN_DEPENDS Core ProjectExplorer CppTools QtSupport QmlJSTools + SOURCES + customqbspropertiesdialog.cpp customqbspropertiesdialog.h customqbspropertiesdialog.ui + defaultpropertyprovider.cpp defaultpropertyprovider.h + propertyprovider.h + qbsbuildconfiguration.cpp qbsbuildconfiguration.h + qbsbuildstep.cpp qbsbuildstep.h + qbsbuildstepconfigwidget.ui + qbscleanstep.cpp qbscleanstep.h + qbscleanstepconfigwidget.ui + qbsinstallstep.cpp qbsinstallstep.h + qbsinstallstepconfigwidget.ui + qbskitinformation.cpp qbskitinformation.h + qbslogsink.cpp qbslogsink.h + qbsnodes.cpp qbsnodes.h + qbsnodetreebuilder.cpp qbsnodetreebuilder.h + qbsparser.cpp qbsparser.h + qbspmlogging.cpp qbspmlogging.h + qbsprofilessettingspage.cpp qbsprofilessettingspage.h + qbsprofilessettingswidget.ui + qbsproject.cpp qbsproject.h + qbsprojectimporter.cpp qbsprojectimporter.h + qbsprojectmanager.cpp qbsprojectmanager.h qbsprojectmanager.qrc + qbsprojectmanager_global.h + qbsprojectmanagerconstants.h + qbsprojectmanagerplugin.cpp qbsprojectmanagerplugin.h + qbsprojectmanagersettings.cpp qbsprojectmanagersettings.h + qbsprojectparser.cpp qbsprojectparser.h + qbsrunconfiguration.cpp qbsrunconfiguration.h +) |