diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Conf.hpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp index 6018b48..c8c22e1 100644 --- a/include/Conf.hpp +++ b/include/Conf.hpp @@ -213,7 +213,8 @@ namespace sibs buildTests(_buildTests), cVersion(CVersion::C11), cppVersion(CPPVersion::CPP14), - mainProject(false) + mainProject(false), + sanitize(false) { cmakeDirGlobal = projectPath; cmakeDirStatic = cmakeDirGlobal; @@ -388,6 +389,16 @@ namespace sibs this->mainProject = mainProject; } + bool getSanitize() const + { + return sanitize; + } + + void setSanitize(bool sanitize) + { + this->sanitize = sanitize; + } + virtual bool isDefined(const std::string &name) const; virtual bool define(const std::string &name, const std::string &value); virtual const std::unordered_map<std::string, std::string>& getDefines() const; @@ -440,6 +451,7 @@ namespace sibs bool buildTests; bool finishedProcessing; bool mainProject; + bool sanitize; }; class SibsTestConfig : public SibsConfig |