aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-09-29 14:24:03 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit9f3f366deec411675cc21c2fceaa7ac090d03a4c (patch)
tree73fca6219c7f9f460e4129f91b2255e502a70fe8 /include
parentba960a24615b39a4e145b7286afe0f1b5047020a (diff)
Remove project.tests, always use tests subdir
Diffstat (limited to 'include')
-rw-r--r--include/Conf.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp
index dd8b003..35dab86 100644
--- a/include/Conf.hpp
+++ b/include/Conf.hpp
@@ -96,12 +96,6 @@ namespace sibs
virtual void finished() = 0;
};
- class Config
- {
- public:
- static Result<bool> readFromFile(const _tinydir_char_t *filepath, ConfigCallback &callback);
- };
-
enum OptimizationLevel
{
OPT_LEV_NONE,
@@ -497,6 +491,12 @@ namespace sibs
void processField(StringView name, const ConfigValue &value) override;
void finished() override;
};
+
+ class Config
+ {
+ public:
+ static Result<bool> readFromFile(const _tinydir_char_t *filepath, SibsConfig &config);
+ };
void readSibsConfig(const FileString &projectPath, const FileString &projectConfFilePath, SibsConfig &sibsConfig, FileString &buildPath);
}