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/diffeditor | |
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/diffeditor')
-rw-r--r-- | src/plugins/diffeditor/CMakeLists.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/plugins/diffeditor/CMakeLists.txt b/src/plugins/diffeditor/CMakeLists.txt new file mode 100644 index 0000000000..f5fbb9630c --- /dev/null +++ b/src/plugins/diffeditor/CMakeLists.txt @@ -0,0 +1,22 @@ +add_qtc_plugin(DiffEditor + PLUGIN_DEPENDS Core TextEditor + DEFINES DIFFEDITOR_LIBRARY + SOURCES + descriptionwidgetwatcher.cpp descriptionwidgetwatcher.h + diffeditor.cpp diffeditor.h + diffeditor.qrc + diffeditor_global.h + diffeditorconstants.h + diffeditorcontroller.cpp diffeditorcontroller.h + diffeditordocument.cpp diffeditordocument.h + diffeditorfactory.cpp diffeditorfactory.h + diffeditoricons.h + diffeditorplugin.cpp diffeditorplugin.h + diffeditorwidgetcontroller.cpp diffeditorwidgetcontroller.h + diffutils.cpp diffutils.h + diffview.cpp diffview.h + selectabletexteditorwidget.cpp selectabletexteditorwidget.h + sidebysidediffeditorwidget.cpp sidebysidediffeditorwidget.h + unifieddiffeditorwidget.cpp unifieddiffeditorwidget.h + EXPLICIT_MOC diffeditor.h +) |