diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-11-13 19:04:17 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-03 13:26:55 -0800 |
commit | 057c151fe8592ec5f160ae5f7891c1f1b5c998dc (patch) | |
tree | 4fad01c8503872722de5e56638e614a9549ba61c /core/subsurfacestartup.c | |
parent | a23c3d0bb1a0e103f3dea9f93960992080753156 (diff) | |
download | subsurface-057c151fe8592ec5f160ae5f7891c1f1b5c998dc.tar.gz |
build-system: start adding a headless build
Right now this doesn't do a thing, but it gives us a nice target that
has far fewer dependencies and should contain enough parts to download
stuff from a divecomputer and then sync that with cloud storage.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r-- | core/subsurfacestartup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c index bdb908ea5..c12357cbc 100644 --- a/core/subsurfacestartup.c +++ b/core/subsurfacestartup.c @@ -132,7 +132,11 @@ void print_version() static bool version_printed = false; if (version_printed) return; +#if defined(SUBSURFACE_DOWNLOADER) + printf("Subsurface-downloader v%s,\n", subsurface_git_version()); +#else printf("Subsurface v%s,\n", subsurface_git_version()); +#endif printf("built with libdivecomputer v%s\n", dc_version(NULL)); print_qt_versions(); int git_maj, git_min, git_rev; |