From 23117906c571714b0b55caf35cf9f876d1f9fa2e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 21 Mar 2018 14:56:51 +0100 Subject: Add sub projects (should be used with git submodules) Fix issue where static lib dependencies are not built correctly because their dynamic lib dependencies are not propagated to dependant project --- include/Conf.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/Conf.hpp b/include/Conf.hpp index 13245c1..6a6d07c 100644 --- a/include/Conf.hpp +++ b/include/Conf.hpp @@ -99,7 +99,7 @@ namespace sibs class Config { public: - static Result readFromFile(const _tinydir_char_t *filepath, const ConfigCallback &callback); + static Result readFromFile(const _tinydir_char_t *filepath, ConfigCallback &callback); }; enum OptimizationLevel @@ -449,6 +449,8 @@ namespace sibs void processField(StringView name, const ConfigValue &value) override; void finished() override; }; + + void readSibsConfig(const FileString &projectPath, const FileString &projectConfFilePath, SibsConfig &sibsConfig, FileString &buildPath); } #endif //SIBS_CONF_HPP -- cgit v1.2.3