aboutsummaryrefslogtreecommitdiffstats
path: root/core/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-03-14 20:37:19 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-09 11:29:43 -0700
commit5afe1a53d8c662f26de048c8d954be323b96026b (patch)
tree0a45d68019e94160f2d402c34334a73c1bafcd5f /core/CMakeLists.txt
parent36249f27802540e541bae132a7b644b4a8a2f148 (diff)
downloadsubsurface-5afe1a53d8c662f26de048c8d954be323b96026b.tar.gz
Cleanup: Move *_loc formatting functions into new format.cpp file
qthelper.cpp is already quite voluminous. Move the recently introduced localized versions of (v)snprintf() and put_format() into their own translation unit. Moreover, adopt C-style semantics for asprintf_loc(). This function will be used to remove fixed-size buffers in core/plannernotes.c. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/CMakeLists.txt')
-rw-r--r--core/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index 34e12c59b..62d756950 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -77,6 +77,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
# dirk ported some core functionality to c++.
qthelper.cpp
metadata.cpp
+ format.cpp
divecomputer.cpp
exif.cpp
subsurfacesysinfo.cpp