summaryrefslogtreecommitdiffstats
path: root/core/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-12-14 22:42:07 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-17 13:03:56 -0800
commitbf8261c0014253634eaddf7c0a9cf79d3a8b4123 (patch)
treee74ca215dbf25cf311e958875863da8037e0eee3 /core/CMakeLists.txt
parentdc37ba7758a34fb9d5dd840d41902621030fec32 (diff)
downloadsubsurface-bf8261c0014253634eaddf7c0a9cf79d3a8b4123.tar.gz
core: create string-format.cpp source file
The mobile version of the list used string formatting functions defined in DiveObjectHelper and declared in mobilelistmodels.h. Very confusing. Move them to a separate source file where - in the long run - all the string-formatting functions, which are scattered all over the place, can be collected. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/CMakeLists.txt')
-rw-r--r--core/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index 1ed24019c..5680c5f6b 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -164,6 +164,8 @@ set(SUBSURFACE_CORE_LIB_SRCS
statistics.c
statistics.h
strndup.h
+ string-format.h
+ string-format.cpp
strtod.c
subsurface-string.h
subsurfacestartup.c