diff options
-rw-r--r-- | CMakeLists.txt | 10 | ||||
-rw-r--r-- | plugins/haskell/CMakeLists.txt | 29 |
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 +) |