aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <git@eikeziller.de>2017-10-01 20:09:46 +0200
committerEike Ziller <git@eikeziller.de>2017-10-03 20:01:26 +0200
commit95067d6146d406317b447604d088eefe54754368 (patch)
tree7bc5c3bb839fbf0e383332b481fa4d3872b9332f
parentce0bd485ee6ff54099b564730f82ac7667b0fa08 (diff)
Add toplevel .pro file and .qbs file
-rw-r--r--haskell.pro7
-rw-r--r--plugins/haskell/haskell.qbs35
-rw-r--r--tests/auto/auto.pro2
3 files changed, 44 insertions, 0 deletions
diff --git a/haskell.pro b/haskell.pro
new file mode 100644
index 0000000..a8601b4
--- /dev/null
+++ b/haskell.pro
@@ -0,0 +1,7 @@
+TEMPLATE = subdirs
+
+SUBDIRS += \
+ plugins/haskell
+
+!isEmpty(BUILD_TESTS): SUBDIRS += tests/auto
+
diff --git a/plugins/haskell/haskell.qbs b/plugins/haskell/haskell.qbs
new file mode 100644
index 0000000..d2296a9
--- /dev/null
+++ b/plugins/haskell/haskell.qbs
@@ -0,0 +1,35 @@
+import qbs 1.0
+
+QtcPlugin {
+ name: "Haskell"
+
+ Depends { name: "Qt.widgets" }
+ Depends { name: "Utils" }
+
+ Depends { name: "Core" }
+ Depends { name: "TextEditor" }
+ Depends { name: "ProjectExplorer" }
+
+ files: [
+ "filecache.cpp", "filecache.h",
+ "followsymbol.cpp", "followsymbol.h",
+ "ghcmod.cpp", "ghcmod.h",
+ "haskell.qrc",
+ "haskellbuildconfiguration.cpp", "haskellbuildconfiguration.h",
+ "haskellcompletionassist.cpp", "haskellcompletionassist.h",
+ "haskellconstants.h",
+ "haskelldocument.cpp", "haskelldocument.h",
+ "haskelleditorfactory.cpp", "haskelleditorfactory.h",
+ "haskelleditorwidget.cpp", "haskelleditorwidget.h",
+ "haskell_global.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"
+ ]
+}
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
new file mode 100644
index 0000000..200dc2f
--- /dev/null
+++ b/tests/auto/auto.pro
@@ -0,0 +1,2 @@
+TEMPLATE = subdirs
+SUBDIRS += tokenizer