summaryrefslogtreecommitdiff
path: root/src/plugins/beautifier
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-05-12 22:20:56 +0200
committerCristian Adam <cristian.adam@gmail.com>2019-05-17 13:33:28 +0000
commitd855b84c5df923394ace3bb91dab379f7e0daa34 (patch)
treee184ccdf5724151465a1653f9fc308af43293de8 /src/plugins/beautifier
parentf872a95fddd2690bb6953a17e48935c1b12d83d9 (diff)
downloadqt-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/beautifier')
-rw-r--r--src/plugins/beautifier/CMakeLists.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/plugins/beautifier/CMakeLists.txt b/src/plugins/beautifier/CMakeLists.txt
new file mode 100644
index 0000000000..f9955105ad
--- /dev/null
+++ b/src/plugins/beautifier/CMakeLists.txt
@@ -0,0 +1,27 @@
+add_qtc_plugin(Beautifier
+ DEPENDS Qt5::Xml
+ PLUGIN_DEPENDS Core CppEditor DiffEditor ProjectExplorer TextEditor
+ SOURCES
+ abstractsettings.cpp abstractsettings.h
+ artisticstyle/artisticstyle.cpp artisticstyle/artisticstyle.h
+ artisticstyle/artisticstyleconstants.h
+ artisticstyle/artisticstyleoptionspage.cpp artisticstyle/artisticstyleoptionspage.h artisticstyle/artisticstyleoptionspage.ui
+ artisticstyle/artisticstylesettings.cpp artisticstyle/artisticstylesettings.h
+ beautifier.qrc
+ beautifierabstracttool.h
+ beautifierconstants.h
+ beautifierplugin.cpp beautifierplugin.h
+ clangformat/clangformat.cpp clangformat/clangformat.h
+ clangformat/clangformatconstants.h
+ clangformat/clangformatoptionspage.cpp clangformat/clangformatoptionspage.h clangformat/clangformatoptionspage.ui
+ clangformat/clangformatsettings.cpp clangformat/clangformatsettings.h
+ configurationdialog.cpp configurationdialog.h configurationdialog.ui
+ configurationeditor.cpp configurationeditor.h
+ configurationpanel.cpp configurationpanel.h configurationpanel.ui
+ generaloptionspage.cpp generaloptionspage.h generaloptionspage.ui
+ generalsettings.cpp generalsettings.h
+ uncrustify/uncrustify.cpp uncrustify/uncrustify.h
+ uncrustify/uncrustifyconstants.h
+ uncrustify/uncrustifyoptionspage.cpp uncrustify/uncrustifyoptionspage.h uncrustify/uncrustifyoptionspage.ui
+ uncrustify/uncrustifysettings.cpp uncrustify/uncrustifysettings.h
+)