summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-08-27 09:52:31 +0200
committerEike Ziller <eike.ziller@qt.io>2019-08-27 09:52:31 +0200
commit160059525a52aa43e6ef694dec8a65691d35bd75 (patch)
tree32a2f9bfb878d5576dd9da0c43c18a1eda0a11dd
parent4291fcd8b3cc4e5bcfe04f7e54ea02f6231737cc (diff)
parent8ff9ef68a0274822b6c5e10b37f050579be3839e (diff)
Merge remote-tracking branch 'origin/4.10'HEADmaster4.11
-rw-r--r--CMakeLists.txt10
-rw-r--r--plugins/haskell/CMakeLists.txt29
2 files changed, 39 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..b260708
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 3.9)
+
+project(Haskell)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+set(CMAKE_CXX_STANDARD 14)
+
+add_subdirectory(plugins/haskell)
diff --git a/plugins/haskell/CMakeLists.txt b/plugins/haskell/CMakeLists.txt
new file mode 100644
index 0000000..d2e08af
--- /dev/null
+++ b/plugins/haskell/CMakeLists.txt
@@ -0,0 +1,29 @@
+find_package(QtCreator COMPONENTS Core TextEditor ProjectExplorer REQUIRED)
+find_package(Qt5 COMPONENTS Widgets REQUIRED)
+
+add_qtc_plugin(Haskell
+ PLUGIN_DEPENDS
+ QtCreator::Core QtCreator::TextEditor QtCreator::ProjectExplorer
+ DEPENDS Qt5::Widgets
+ SOURCES
+ filecache.cpp filecache.h
+ followsymbol.cpp followsymbol.h
+ ghcmod.cpp ghcmod.h
+ haskell.qrc
+ haskell_global.h
+ haskellbuildconfiguration.cpp haskellbuildconfiguration.h
+ haskellcompletionassist.cpp haskellcompletionassist.h
+ haskellconstants.h
+ haskelldocument.cpp haskelldocument.h
+ haskelleditorfactory.cpp haskelleditorfactory.h
+ haskelleditorwidget.cpp haskelleditorwidget.h
+ haskellhighlighter.cpp haskellhighlighter.h
+ haskellhoverhandler.cpp haskellhoverhandler.h
+ haskellmanager.cpp haskellmanager.h
+ haskellplugin.cpp haskellplugin.h
+ haskellproject.cpp haskellproject.h
+ haskellrunconfiguration.cpp haskellrunconfiguration.h
+ haskelltokenizer.cpp haskelltokenizer.h
+ optionspage.cpp optionspage.h
+ stackbuildstep.cpp stackbuildstep.h
+)