summaryrefslogtreecommitdiffstats
path: root/core/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-02 14:03:25 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-02 10:26:29 -0800
commitfdde4c23ea570d3fdc25dd3a66019e4500c5982c (patch)
tree34c929c2aaa7d3b8cbd634d29c2ba152d3fd872e /core/CMakeLists.txt
parent91ffa5a59a32b7c2a6e61b0d00e9074d8a418331 (diff)
downloadsubsurface-fdde4c23ea570d3fdc25dd3a66019e4500c5982c.tar.gz
cleanup: move pref related structs and functions to pref.c
These were declared in pref.h and defined in subsurfacestartup.c. pref.c didn't even exist. Create it and move preferences-related structs and functions there. setup_system_prefs() is left in subsurfacestartup.c, since it works with environment variables. 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 9d92cc1d1..0d400931d 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -143,6 +143,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
planner.h
plannernotes.c
pref.h
+ pref.c
profile.c
profile.h
qt-gui.h