diff options
Diffstat (limited to 'subsurface.pro')
-rw-r--r-- | subsurface.pro | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/subsurface.pro b/subsurface.pro index ed78bce4a..a9afae426 100644 --- a/subsurface.pro +++ b/subsurface.pro @@ -20,8 +20,13 @@ else: TARGET = subsurface QMAKE_CLEAN += $$TARGET VERSION = 4.4.1 +VERSION_FILE = $$OUT_PWD/ssrf-version.h +# create a blank VERSION_FILE if missing +system(cat $$VERSION_FILE > /dev/null 2>&1 || touch $$VERSION_FILE) HEADERS = \ + $$VERSION_FILE \ + version.h \ cochran.h \ color.h \ deco.h \ @@ -29,6 +34,7 @@ HEADERS = \ display.h \ dive.h \ divelist.h \ + divesite.h \ file.h \ gettextfromc.h \ gettext.h \ @@ -104,7 +110,8 @@ HEADERS = \ qt-ui/statistics/statisticsbar.h \ qt-ui/statistics/yearstatistics.h \ qt-ui/diveshareexportdialog.h \ - qt-ui/filtermodels.h + qt-ui/filtermodels.h \ + qt-ui/undocommands.h android: HEADERS -= \ qt-ui/usermanual.h \ @@ -113,14 +120,17 @@ android: HEADERS -= \ qt-ui/printoptions.h SOURCES = \ + version.c \ cochran.c \ deco.c \ device.c \ dive.c \ divelist.c \ + divesite.c \ equipment.c \ file.c \ gettextfromc.cpp \ + git-access.c \ libdivecomputer.c \ liquivision.c \ load-git.c \ @@ -198,7 +208,8 @@ SOURCES = \ qt-ui/statistics/statisticsbar.cpp \ qt-ui/statistics/monthstatistics.cpp \ qt-ui/diveshareexportdialog.cpp \ - qt-ui/filtermodels.cpp + qt-ui/filtermodels.cpp \ + qt-ui/undocommands.cpp android: SOURCES += android.cpp else: win32: SOURCES += windows.c @@ -235,7 +246,9 @@ FORMS = \ qt-ui/configuredivecomputerdialog.ui \ qt-ui/listfilter.ui \ qt-ui/diveshareexportdialog.ui \ - qt-ui/filterwidget.ui + qt-ui/filterwidget.ui \ + qt-ui/plannerDetails.ui \ + qt-ui/locationInformation.ui # Nether usermanual or printing is supported on android right now android: FORMS -= qt-ui/printoptions.ui |