2014-07-09 17:03:29 +00:00
|
|
|
CODECFORTR = UTF-8
|
|
|
|
CODECFORSRC = UTF-8
|
2013-10-07 00:52:34 +00:00
|
|
|
include(subsurface-configure.pri)
|
|
|
|
|
2014-06-02 20:10:36 +00:00
|
|
|
QT = core gui network svg concurrent
|
2014-01-15 08:30:32 +00:00
|
|
|
lessThan(QT_MAJOR_VERSION, 5) {
|
|
|
|
QT += webkit
|
|
|
|
} else {
|
2014-06-30 20:45:52 +00:00
|
|
|
!android: QT += webkitwidgets webkit
|
2014-03-26 22:08:57 +00:00
|
|
|
android: QT += androidextras
|
2014-01-15 08:30:32 +00:00
|
|
|
}
|
2013-10-07 00:52:34 +00:00
|
|
|
INCLUDEPATH += qt-ui $$PWD
|
2014-01-26 18:33:24 +00:00
|
|
|
DEPENDPATH += qt-ui
|
2013-10-07 00:52:34 +00:00
|
|
|
|
2013-10-07 06:12:59 +00:00
|
|
|
mac: TARGET = Subsurface
|
|
|
|
else: TARGET = subsurface
|
|
|
|
|
2014-07-25 19:35:05 +00:00
|
|
|
VERSION = 4.1.93
|
2013-10-07 00:52:34 +00:00
|
|
|
|
|
|
|
HEADERS = \
|
|
|
|
color.h \
|
|
|
|
deco.h \
|
|
|
|
device.h \
|
|
|
|
display.h \
|
|
|
|
dive.h \
|
|
|
|
divelist.h \
|
|
|
|
file.h \
|
|
|
|
gettextfromc.h \
|
|
|
|
gettext.h \
|
|
|
|
helpers.h \
|
|
|
|
libdivecomputer.h \
|
|
|
|
planner.h \
|
2014-05-23 18:49:49 +00:00
|
|
|
save-html.h \
|
2014-03-30 20:14:56 +00:00
|
|
|
worldmap-save.h \
|
|
|
|
worldmap-options.h \
|
2013-10-07 00:52:34 +00:00
|
|
|
pref.h \
|
|
|
|
profile.h \
|
|
|
|
qt-gui.h \
|
|
|
|
qthelper.h \
|
2014-06-25 13:36:30 +00:00
|
|
|
units.h \
|
2014-05-12 16:53:26 +00:00
|
|
|
divecomputer.h \
|
2013-10-07 00:52:34 +00:00
|
|
|
qt-ui/about.h \
|
|
|
|
qt-ui/completionmodels.h \
|
|
|
|
qt-ui/divecomputermanagementdialog.h \
|
|
|
|
qt-ui/divelistview.h \
|
2014-05-30 17:38:27 +00:00
|
|
|
qt-ui/divepicturewidget.h \
|
2013-10-07 00:52:34 +00:00
|
|
|
qt-ui/diveplanner.h \
|
|
|
|
qt-ui/downloadfromdivecomputer.h \
|
|
|
|
qt-ui/globe.h \
|
|
|
|
qt-ui/graphicsview-common.h \
|
|
|
|
qt-ui/kmessagewidget.h \
|
|
|
|
qt-ui/maintab.h \
|
|
|
|
qt-ui/mainwindow.h \
|
|
|
|
qt-ui/modeldelegates.h \
|
|
|
|
qt-ui/models.h \
|
|
|
|
qt-ui/preferences.h \
|
|
|
|
qt-ui/printdialog.h \
|
|
|
|
qt-ui/printlayout.h \
|
|
|
|
qt-ui/printoptions.h \
|
|
|
|
qt-ui/simplewidgets.h \
|
|
|
|
qt-ui/starwidget.h \
|
|
|
|
qt-ui/subsurfacewebservices.h \
|
|
|
|
qt-ui/tableview.h \
|
2014-06-02 21:28:02 +00:00
|
|
|
exif.h \
|
2013-10-07 00:52:34 +00:00
|
|
|
sha1.h \
|
|
|
|
statistics.h \
|
|
|
|
subsurfacestartup.h \
|
|
|
|
uemis.h \
|
2013-10-16 19:05:19 +00:00
|
|
|
webservice.h \
|
2013-12-29 16:11:20 +00:00
|
|
|
qt-ui/divelogimportdialog.h \
|
2013-11-02 01:20:02 +00:00
|
|
|
qt-ui/tagwidget.h \
|
2014-01-09 17:21:29 +00:00
|
|
|
qt-ui/groupedlineedit.h \
|
2014-01-14 16:30:13 +00:00
|
|
|
qt-ui/usermanual.h \
|
2014-01-14 16:42:19 +00:00
|
|
|
qt-ui/profile/profilewidget2.h \
|
2014-01-14 16:59:24 +00:00
|
|
|
qt-ui/profile/diverectitem.h \
|
2014-01-14 17:12:00 +00:00
|
|
|
qt-ui/profile/divepixmapitem.h \
|
2014-01-14 17:23:57 +00:00
|
|
|
qt-ui/profile/divelineitem.h \
|
2014-01-14 18:01:17 +00:00
|
|
|
qt-ui/profile/divetextitem.h \
|
2014-01-14 18:20:15 +00:00
|
|
|
qt-ui/profile/animationfunctions.h \
|
2014-01-14 18:43:58 +00:00
|
|
|
qt-ui/profile/divecartesianaxis.h \
|
2014-01-14 19:17:17 +00:00
|
|
|
qt-ui/profile/diveplotdatamodel.h \
|
2014-01-16 17:02:32 +00:00
|
|
|
qt-ui/profile/diveprofileitem.h \
|
2014-02-05 16:25:28 +00:00
|
|
|
qt-ui/profile/diveeventitem.h \
|
2014-02-27 16:28:58 +00:00
|
|
|
qt-ui/profile/divetooltipitem.h \
|
2014-04-02 19:41:39 +00:00
|
|
|
qt-ui/profile/ruleritem.h \
|
2014-05-20 16:33:32 +00:00
|
|
|
qt-ui/updatemanager.h \
|
2014-06-13 17:56:46 +00:00
|
|
|
qt-ui/divelogexportdialog.h \
|
2014-06-14 19:27:57 +00:00
|
|
|
qt-ui/usersurvey.h \
|
|
|
|
subsurfacesysinfo.h
|
2013-10-07 00:52:34 +00:00
|
|
|
|
2014-03-26 22:36:06 +00:00
|
|
|
android: HEADERS -= \
|
|
|
|
qt-ui/usermanual.h \
|
|
|
|
qt-ui/printdialog.h \
|
|
|
|
qt-ui/printlayout.h \
|
|
|
|
qt-ui/printoptions.h
|
2014-03-26 22:35:24 +00:00
|
|
|
|
2013-10-07 00:52:34 +00:00
|
|
|
SOURCES = \
|
|
|
|
deco.c \
|
|
|
|
device.c \
|
|
|
|
dive.c \
|
|
|
|
divelist.c \
|
|
|
|
equipment.c \
|
|
|
|
file.c \
|
|
|
|
gettextfromc.cpp \
|
|
|
|
libdivecomputer.c \
|
2014-03-07 03:27:28 +00:00
|
|
|
load-git.c \
|
2013-10-07 00:52:34 +00:00
|
|
|
main.cpp \
|
2014-01-16 02:03:11 +00:00
|
|
|
membuffer.c \
|
2013-10-07 00:52:34 +00:00
|
|
|
parse-xml.c \
|
|
|
|
planner.c \
|
|
|
|
profile.c \
|
2014-05-12 16:53:26 +00:00
|
|
|
divecomputer.cpp \
|
2014-03-30 20:14:56 +00:00
|
|
|
worldmap-save.c \
|
2014-05-23 18:49:49 +00:00
|
|
|
save-html.c \
|
2013-10-07 00:52:34 +00:00
|
|
|
qt-gui.cpp \
|
|
|
|
qthelper.cpp \
|
|
|
|
qt-ui/about.cpp \
|
|
|
|
qt-ui/completionmodels.cpp \
|
|
|
|
qt-ui/divecomputermanagementdialog.cpp \
|
|
|
|
qt-ui/divelistview.cpp \
|
2014-05-30 17:38:27 +00:00
|
|
|
qt-ui/divepicturewidget.cpp \
|
2013-10-07 00:52:34 +00:00
|
|
|
qt-ui/diveplanner.cpp \
|
|
|
|
qt-ui/downloadfromdivecomputer.cpp \
|
|
|
|
qt-ui/globe.cpp \
|
|
|
|
qt-ui/graphicsview-common.cpp \
|
|
|
|
qt-ui/kmessagewidget.cpp \
|
|
|
|
qt-ui/maintab.cpp \
|
|
|
|
qt-ui/mainwindow.cpp \
|
|
|
|
qt-ui/modeldelegates.cpp \
|
|
|
|
qt-ui/models.cpp \
|
|
|
|
qt-ui/preferences.cpp \
|
|
|
|
qt-ui/printdialog.cpp \
|
|
|
|
qt-ui/printlayout.cpp \
|
|
|
|
qt-ui/printoptions.cpp \
|
|
|
|
qt-ui/simplewidgets.cpp \
|
|
|
|
qt-ui/starwidget.cpp \
|
|
|
|
qt-ui/subsurfacewebservices.cpp \
|
|
|
|
qt-ui/tableview.cpp \
|
2014-06-02 21:28:02 +00:00
|
|
|
exif.cpp \
|
Initial implementation of git save format
This saves the dive data into a git object repository instead of a
single XML file.
We create a git object tree with each dive as a separate file,
hierarchically by trip and date.
NOTE 1: This largely duplicates the XML saving code, because trying to
share it seemed just too painful: the logic is very similar, but the
details of the actual strings end up differing sufficiently that there
are tons of trivial differences.
The git save format is line-based with minimal quoting, while XML quotes
everything with either "<..\>" or using single quotes around attributes.
NOTE 2: You currently need a dummy "file" to save to, which points to
the real save location: the git repository and branch to be used. We
should make this a config thing, but for testing, do something like
this:
echo git /home/torvalds/scuba:linus > git-test
to create that git information file, and when you use "Save To" and
specify "git-test" as the file to save to, subsurface will use the new
git save logic to save to the branch "linus" in the repository found at
"/home/torvalds/scuba".
NOTE 3: The git save format uses just the git object directory, it does
*not* check out the result in any git working tree or index. So after
you do a save, you can do
git log -p linus
to see what actually happened in that branch, but it will not affect any
actual checked-out state in the repository.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-03-06 21:28:39 +00:00
|
|
|
save-git.c \
|
2013-10-07 00:52:34 +00:00
|
|
|
save-xml.c \
|
|
|
|
sha1.c \
|
|
|
|
statistics.c \
|
2014-01-03 04:35:35 +00:00
|
|
|
strtod.c \
|
2013-10-07 00:52:34 +00:00
|
|
|
subsurfacestartup.c \
|
|
|
|
time.c \
|
|
|
|
uemis.c \
|
2013-10-16 19:05:19 +00:00
|
|
|
uemis-downloader.c \
|
2013-12-29 16:11:20 +00:00
|
|
|
qt-ui/divelogimportdialog.cpp \
|
2013-11-02 01:20:02 +00:00
|
|
|
qt-ui/tagwidget.cpp \
|
2014-01-09 17:21:29 +00:00
|
|
|
qt-ui/groupedlineedit.cpp \
|
2014-01-14 16:30:13 +00:00
|
|
|
qt-ui/usermanual.cpp \
|
2014-01-14 16:42:19 +00:00
|
|
|
qt-ui/profile/profilewidget2.cpp \
|
2014-01-14 16:59:24 +00:00
|
|
|
qt-ui/profile/diverectitem.cpp \
|
2014-01-14 17:12:00 +00:00
|
|
|
qt-ui/profile/divepixmapitem.cpp \
|
2014-01-14 17:23:57 +00:00
|
|
|
qt-ui/profile/divelineitem.cpp \
|
2014-01-14 18:01:17 +00:00
|
|
|
qt-ui/profile/divetextitem.cpp \
|
2014-01-14 18:20:15 +00:00
|
|
|
qt-ui/profile/animationfunctions.cpp \
|
2014-01-14 18:43:58 +00:00
|
|
|
qt-ui/profile/divecartesianaxis.cpp \
|
2014-01-14 19:17:17 +00:00
|
|
|
qt-ui/profile/diveplotdatamodel.cpp \
|
2014-01-16 17:02:32 +00:00
|
|
|
qt-ui/profile/diveprofileitem.cpp \
|
2014-02-05 16:25:28 +00:00
|
|
|
qt-ui/profile/diveeventitem.cpp \
|
2014-02-27 16:28:58 +00:00
|
|
|
qt-ui/profile/divetooltipitem.cpp \
|
2014-04-02 19:41:39 +00:00
|
|
|
qt-ui/profile/ruleritem.cpp \
|
2014-05-20 16:33:32 +00:00
|
|
|
qt-ui/updatemanager.cpp \
|
2014-06-13 17:56:46 +00:00
|
|
|
qt-ui/divelogexportdialog.cpp \
|
2014-06-14 19:27:57 +00:00
|
|
|
qt-ui/usersurvey.cpp \
|
|
|
|
subsurfacesysinfo.cpp
|
2013-10-07 00:52:34 +00:00
|
|
|
|
2014-03-26 22:08:57 +00:00
|
|
|
android: SOURCES += android.cpp
|
|
|
|
else: linux*: SOURCES += linux.c
|
2013-10-07 00:52:34 +00:00
|
|
|
mac: SOURCES += macos.c
|
|
|
|
win32: SOURCES += windows.c
|
|
|
|
|
2014-03-26 22:36:06 +00:00
|
|
|
android: SOURCES -= \
|
|
|
|
qt-ui/usermanual.cpp \
|
|
|
|
qt-ui/printdialog.cpp \
|
|
|
|
qt-ui/printlayout.cpp \
|
|
|
|
qt-ui/printoptions.cpp
|
2014-03-26 22:35:24 +00:00
|
|
|
|
2013-10-07 00:52:34 +00:00
|
|
|
FORMS = \
|
|
|
|
qt-ui/about.ui \
|
|
|
|
qt-ui/divecomputermanagementdialog.ui \
|
|
|
|
qt-ui/diveplanner.ui \
|
|
|
|
qt-ui/downloadfromdivecomputer.ui \
|
|
|
|
qt-ui/maintab.ui \
|
|
|
|
qt-ui/mainwindow.ui \
|
|
|
|
qt-ui/preferences.ui \
|
|
|
|
qt-ui/printoptions.ui \
|
|
|
|
qt-ui/renumber.ui \
|
2013-11-18 13:53:05 +00:00
|
|
|
qt-ui/shifttimes.ui \
|
2014-01-27 13:44:26 +00:00
|
|
|
qt-ui/shiftimagetimes.ui \
|
2013-10-25 00:30:21 +00:00
|
|
|
qt-ui/webservices.ui \
|
2013-10-16 19:05:19 +00:00
|
|
|
qt-ui/tableview.ui \
|
2014-01-09 17:21:29 +00:00
|
|
|
qt-ui/divelogimportdialog.ui \
|
2014-06-30 20:45:52 +00:00
|
|
|
qt-ui/searchbar.ui \
|
2014-06-10 15:40:02 +00:00
|
|
|
qt-ui/divelogexportdialog.ui \
|
2014-06-13 17:56:46 +00:00
|
|
|
qt-ui/plannerSettings.ui \
|
|
|
|
qt-ui/usersurvey.ui
|
2013-10-07 00:52:34 +00:00
|
|
|
|
2014-03-26 22:36:06 +00:00
|
|
|
# Nether usermanual or printing is supported on android right now
|
2014-06-30 20:45:52 +00:00
|
|
|
android: FORMS -= qt-ui/printoptions.ui
|
2014-03-26 22:35:24 +00:00
|
|
|
|
2013-10-07 00:52:34 +00:00
|
|
|
RESOURCES = subsurface.qrc
|
|
|
|
|
2013-10-10 07:21:17 +00:00
|
|
|
TRANSLATIONS = \
|
2013-10-16 03:25:21 +00:00
|
|
|
translations/subsurface_source.ts \
|
2013-10-10 19:39:01 +00:00
|
|
|
translations/subsurface_bg_BG.ts \
|
|
|
|
translations/subsurface_da_DK.ts \
|
|
|
|
translations/subsurface_de_CH.ts \
|
|
|
|
translations/subsurface_de_DE.ts \
|
2014-03-12 17:25:57 +00:00
|
|
|
translations/subsurface_el_GR.ts \
|
2014-04-27 00:31:05 +00:00
|
|
|
translations/subsurface_en_GB.ts \
|
2013-10-10 19:39:01 +00:00
|
|
|
translations/subsurface_es_ES.ts \
|
|
|
|
translations/subsurface_et_EE.ts \
|
|
|
|
translations/subsurface_fi_FI.ts \
|
|
|
|
translations/subsurface_fr_FR.ts \
|
2014-03-12 17:25:57 +00:00
|
|
|
translations/subsurface_he.ts \
|
|
|
|
translations/subsurface_hu.ts \
|
2013-10-10 19:39:01 +00:00
|
|
|
translations/subsurface_it_IT.ts \
|
2014-03-12 17:25:57 +00:00
|
|
|
translations/subsurface_lv_LV.ts \
|
2013-10-10 19:39:01 +00:00
|
|
|
translations/subsurface_nb_NO.ts \
|
|
|
|
translations/subsurface_nl_NL.ts \
|
|
|
|
translations/subsurface_pl_PL.ts \
|
|
|
|
translations/subsurface_pt_BR.ts \
|
|
|
|
translations/subsurface_pt_PT.ts \
|
2014-03-12 17:25:57 +00:00
|
|
|
translations/subsurface_ro_RO.ts \
|
2013-10-10 19:39:01 +00:00
|
|
|
translations/subsurface_ru_RU.ts \
|
|
|
|
translations/subsurface_sk_SK.ts \
|
2013-12-06 04:41:39 +00:00
|
|
|
translations/subsurface_sv_SE.ts \
|
2014-03-12 17:25:57 +00:00
|
|
|
translations/subsurface_tr.ts \
|
|
|
|
translations/subsurface_zh_TW.ts
|
2013-10-07 00:52:34 +00:00
|
|
|
|
2013-10-11 20:51:03 +00:00
|
|
|
QTTRANSLATIONS = \
|
|
|
|
qt_da.qm \
|
|
|
|
qt_de.qm \
|
|
|
|
qt_es.qm \
|
|
|
|
qt_fr.qm \
|
2014-03-12 17:25:57 +00:00
|
|
|
qt_he.qm \
|
|
|
|
qt_hu.qm \
|
2013-10-11 20:51:03 +00:00
|
|
|
qt_pl.qm \
|
|
|
|
qt_pt.qm \
|
|
|
|
qt_ru.qm \
|
|
|
|
qt_sk.qm \
|
2014-03-12 17:25:57 +00:00
|
|
|
qt_sv.qm \
|
|
|
|
qt_zh_TW.qm
|
2013-10-11 20:51:03 +00:00
|
|
|
|
2014-06-06 19:22:42 +00:00
|
|
|
USERMANUALS = \
|
|
|
|
user-manual.html \
|
|
|
|
user-manual_es.html
|
|
|
|
|
2014-05-25 17:16:43 +00:00
|
|
|
doc.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/Documentation || $(MKDIR) $$OUT_PWD/Documentation $$escape_expand(\\n\\t)$(MAKE) -C $$PWD/Documentation OUT=$$OUT_PWD/Documentation/ doc
|
2014-06-08 17:22:19 +00:00
|
|
|
all.depends += usermanual
|
|
|
|
usermanual.depends += doc
|
|
|
|
usermanual.target = $$OUT_PWD/Documentation/user-manual.html
|
2014-06-11 18:07:20 +00:00
|
|
|
QMAKE_EXTRA_TARGETS += doc usermanual all
|
|
|
|
# add the generated user manual HTML files to the list of files to remove
|
|
|
|
# when running make clean
|
|
|
|
for(MANUAL,USERMANUALS) QMAKE_CLEAN += $$OUT_PWD/Documentation/$$MANUAL
|
2013-10-07 00:52:34 +00:00
|
|
|
|
2014-03-18 17:59:45 +00:00
|
|
|
marbledata.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/marbledata || $(COPY_DIR) $$PWD/marbledata $$OUT_PWD
|
|
|
|
all.depends += marbledata
|
|
|
|
QMAKE_EXTRA_TARGETS += marbledata
|
|
|
|
|
2014-06-01 04:48:26 +00:00
|
|
|
theme.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/theme || $(COPY_DIR) $$PWD/theme $$OUT_PWD
|
|
|
|
all.depends += theme
|
|
|
|
QMAKE_EXTRA_TARGETS += theme
|
|
|
|
|
2014-06-23 11:48:17 +00:00
|
|
|
android {
|
|
|
|
android.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/android || $(COPY_DIR) $$PWD/android $$OUT_PWD
|
|
|
|
all.depends += android
|
|
|
|
QMAKE_EXTRA_TARGETS += android
|
|
|
|
}
|
|
|
|
|
2013-10-07 01:41:37 +00:00
|
|
|
DESKTOP_FILE = subsurface.desktop
|
2013-10-07 06:12:59 +00:00
|
|
|
mac: ICON = packaging/macosx/Subsurface.icns
|
|
|
|
else: ICON = subsurface-icon.svg
|
2013-10-07 01:41:37 +00:00
|
|
|
MANPAGE = subsurface.1
|
2013-10-07 06:12:59 +00:00
|
|
|
XSLT_FILES = xslt
|
2013-11-15 23:02:45 +00:00
|
|
|
ICONS_FILES = icons
|
2014-06-06 19:22:42 +00:00
|
|
|
DOC_FILES = Documentation/images
|
2014-06-07 14:01:47 +00:00
|
|
|
for(MANUAL,USERMANUALS) DOC_FILES += $$OUT_PWD/Documentation/$$MANUAL
|
2014-06-05 23:26:35 +00:00
|
|
|
THEME_FILES = theme
|
2013-10-12 18:38:35 +00:00
|
|
|
MARBLEDIR = marbledata/maps marbledata/bitmaps
|
2013-11-28 01:54:30 +00:00
|
|
|
|
|
|
|
#DEPLOYMENT_PLUGIN += bearer/qnativewifibearer
|
|
|
|
DEPLOYMENT_PLUGIN += codecs/qcncodecs codecs/qjpcodecs codecs/qkrcodecs codecs/qtwcodecs
|
|
|
|
DEPLOYMENT_PLUGIN += imageformats/qgif imageformats/qjpeg imageformats/qsvg
|
|
|
|
DEPLOYMENT_PLUGIN += iconengines/qsvgicon
|
|
|
|
#DEPLOYMENT_PLUGIN += sqldrivers/qsqlite
|
2013-10-07 01:41:37 +00:00
|
|
|
|
2013-10-07 06:12:59 +00:00
|
|
|
# This information will go into the Windows .rc file and linked into the .exe
|
|
|
|
QMAKE_TARGET_COMPANY = subsurface team
|
|
|
|
QMAKE_TARGET_DESCRIPTION = subsurface dive log
|
|
|
|
QMAKE_TARGET_COPYRIGHT = Linus Torvalds, Dirk Hohndel and others
|
|
|
|
|
|
|
|
# And this is the Mac Info.plist file
|
|
|
|
# qmake automatically generates sed rules to replace:
|
|
|
|
# token qmake expansion
|
|
|
|
# @ICON@ $$ICON
|
|
|
|
# @TYPEINFO@ first 4 chars of $$QMAKE_PKGINFO_TYPEINFO
|
|
|
|
# @EXECUTABLE@ $$QMAKE_ORIG_TARGET
|
|
|
|
# @LIBRARY@ $$QMAKE_ORIG_TARGET
|
|
|
|
# @SHORT_VERSION@ $$VER_MAJ.$$VER_MIN
|
|
|
|
QMAKE_INFO_PLIST = packaging/macosx/Info.plist.in
|
|
|
|
|
|
|
|
OTHER_FILES += $$DESKTOPFILE $$ICON $$MANPAGE $$XSLT_FILES $$DOC_FILES $$MARBLEDIR \
|
2014-07-04 04:05:08 +00:00
|
|
|
$$QMAKE_INFO_PLIST
|
2013-10-07 01:41:37 +00:00
|
|
|
|
2013-10-07 00:52:34 +00:00
|
|
|
include(subsurface-gen-version.pri)
|
2013-10-07 01:41:37 +00:00
|
|
|
include(subsurface-install.pri)
|
2014-06-08 17:13:15 +00:00
|
|
|
|
2014-07-04 04:05:08 +00:00
|
|
|
# to debug planner issues
|
|
|
|
#QMAKE_CFLAGS += -DDEBUG_PLAN=31
|
|
|
|
#QMAKE_CXXFLAGS += -DDEBUG_PLAN=31
|
2014-06-08 17:13:15 +00:00
|
|
|
# to build debuggable binaries on Windows, you need something like this
|
|
|
|
#QMAKE_CFLAGS_RELEASE=$$QMAKE_CFLAGS_DEBUG -O0 -g
|
|
|
|
#QMAKE_CXXFLAGS_RELEASE=$$QMAKE_CXXFLAGS_DEBUG -O0 -g
|