From c0eacf8e85003844b95e71b9004fa464d4586a38 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 14 Oct 2021 22:19:26 +0200 Subject: Use dependency system and build system for compiling ctor on config changes. --- src/configure.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/configure.h') diff --git a/src/configure.h b/src/configure.h index de1b7e0..a350820 100644 --- a/src/configure.h +++ b/src/configure.h @@ -7,10 +7,12 @@ #include #include +struct Settings; + extern std::filesystem::path configurationFile;; extern std::filesystem::path configHeaderFile; -int configure(int argc, char* argv[]); +int configure(const Settings& settings, int argc, char* argv[]); bool hasConfiguration(const std::string& key); const std::string& getConfiguration(const std::string& key, -- cgit v1.2.3