summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Danilo Cesar Lemes de Paula <danilo.eu@gmail.com>2014-02-07 00:14:47 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-10 08:08:20 -0800
commit31c45b8c4ceca669b36706814ec7379cacd685f0 (patch)
treedc9657228cac0e08c03a018e69f8a3a70a12818e /subsurface.pro
parent772c9fb0b14240ac6959f99052a7f78cb56c6944 (diff)
downloadsubsurface-31c45b8c4ceca669b36706814ec7379cacd685f0.tar.gz
Enable the dive planning under a compile flag
Allow subsurface to show the dive planner in case a compile flag is given. qmake CONFIG+=planner Signed-off-by: Danilo Cesar Lemes de Paula <danilo.eu@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/subsurface.pro b/subsurface.pro
index 148b40047..2c7875110 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -233,5 +233,10 @@ QMAKE_INFO_PLIST = packaging/macosx/Info.plist.in
OTHER_FILES += $$DESKTOPFILE $$ICON $$MANPAGE $$XSLT_FILES $$DOC_FILES $$MARBLEDIR \
$$QMAKE_INFO_PLIST
+# enable or disable the dive planner
+planner {
+ DEFINES += ENABLE_PLANNER
+}
+
include(subsurface-gen-version.pri)
include(subsurface-install.pri)