aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nim
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/nim
parentf872a95fddd2690bb6953a17e48935c1b12d83d9 (diff)
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/nim')
-rw-r--r--src/plugins/nim/CMakeLists.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/plugins/nim/CMakeLists.txt b/src/plugins/nim/CMakeLists.txt
new file mode 100644
index 00000000000..ac450f76f48
--- /dev/null
+++ b/src/plugins/nim/CMakeLists.txt
@@ -0,0 +1,35 @@
+add_qtc_plugin(Nim
+ PLUGIN_DEPENDS Core TextEditor ProjectExplorer
+ SOURCES
+ editor/nimcompletionassistprovider.cpp editor/nimcompletionassistprovider.h
+ editor/nimeditorfactory.cpp editor/nimeditorfactory.h
+ editor/nimhighlighter.cpp editor/nimhighlighter.h
+ editor/nimindenter.cpp editor/nimindenter.h
+ nim.qrc
+ nimconstants.h
+ nimplugin.cpp nimplugin.h
+ project/nimbuildconfiguration.cpp project/nimbuildconfiguration.h
+ project/nimcompilerbuildstep.cpp project/nimcompilerbuildstep.h
+ project/nimcompilerbuildstepconfigwidget.cpp project/nimcompilerbuildstepconfigwidget.h project/nimcompilerbuildstepconfigwidget.ui
+ project/nimcompilercleanstep.cpp project/nimcompilercleanstep.h
+ project/nimcompilercleanstepconfigwidget.cpp project/nimcompilercleanstepconfigwidget.h project/nimcompilercleanstepconfigwidget.ui
+ project/nimproject.cpp project/nimproject.h
+ project/nimprojectnode.cpp project/nimprojectnode.h
+ project/nimrunconfiguration.cpp project/nimrunconfiguration.h
+ project/nimtoolchain.cpp project/nimtoolchain.h
+ project/nimtoolchainfactory.cpp project/nimtoolchainfactory.h
+ settings/nimcodestylepreferencesfactory.cpp settings/nimcodestylepreferencesfactory.h
+ settings/nimcodestylepreferenceswidget.cpp settings/nimcodestylepreferenceswidget.h settings/nimcodestylepreferenceswidget.ui
+ settings/nimcodestylesettingspage.cpp settings/nimcodestylesettingspage.h
+ settings/nimsettings.cpp settings/nimsettings.h
+ settings/nimtoolssettingspage.cpp settings/nimtoolssettingspage.h
+ settings/nimtoolssettingswidget.ui
+ suggest/client.cpp suggest/client.h
+ suggest/clientrequests.cpp suggest/clientrequests.h
+ suggest/nimsuggest.cpp suggest/nimsuggest.h
+ suggest/nimsuggestcache.cpp suggest/nimsuggestcache.h
+ suggest/server.cpp suggest/server.h
+ suggest/sexprlexer.h suggest/sexprparser.h
+ tools/nimlexer.cpp tools/nimlexer.h
+ tools/sourcecodestream.h
+)