diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-17 08:43:49 +1300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-17 08:43:49 +1300 |
commit | abddb3ecb9d93d44bb0071ea369c98499105b9f0 (patch) | |
tree | 9af53a4fad1c975460968a84dc5ced6634e2770b /subsurface.pro | |
parent | 0d619d569bd0b57028eceb16147ea08e850fc946 (diff) | |
download | subsurface-abddb3ecb9d93d44bb0071ea369c98499105b9f0.tar.gz |
Make Facebook support a config option
By default it is turned off, turn on by calling qmake with
CONFIG+=FBSUPPORT.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r-- | subsurface.pro | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/subsurface.pro b/subsurface.pro index ec8b0fd51..71fef0fd0 100644 --- a/subsurface.pro +++ b/subsurface.pro @@ -104,8 +104,7 @@ HEADERS = \ qt-ui/statistics/statisticsbar.h \ qt-ui/statistics/yearstatistics.h \ qt-ui/diveshareexportdialog.h \ - qt-ui/filtermodels.h \ - qt-ui/socialnetworks.h + qt-ui/filtermodels.h android: HEADERS -= \ qt-ui/usermanual.h \ @@ -199,8 +198,7 @@ SOURCES = \ qt-ui/statistics/statisticsbar.cpp \ qt-ui/statistics/monthstatistics.cpp \ qt-ui/diveshareexportdialog.cpp \ - qt-ui/filtermodels.cpp \ - qt-ui/socialnetworks.cpp + qt-ui/filtermodels.cpp android: SOURCES += android.cpp else: win32: SOURCES += windows.c @@ -237,12 +235,18 @@ FORMS = \ qt-ui/configuredivecomputerdialog.ui \ qt-ui/listfilter.ui \ qt-ui/diveshareexportdialog.ui \ - qt-ui/filterwidget.ui \ - qt-ui/socialnetworksdialog.ui + qt-ui/filterwidget.ui # Nether usermanual or printing is supported on android right now android: FORMS -= qt-ui/printoptions.ui +FBSUPPORT: { +FORMS += qt-ui/socialnetworksdialog.ui +SOURCES += qt-ui/socialnetworks.cpp +HEADERS += qt-ui/socialnetworks.h +DEFINES += FBSUPPORT +} + RESOURCES = subsurface.qrc TRANSLATIONS = \ |