aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-21 11:06:17 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-21 11:06:17 +0200
commit445fd7c1968112664b1fbbe6215ed76609cfb8ac (patch)
treec46fbb8eb191945dc9ff5da48d9288fe0b206436 /include
parent0941a99aa4ac45ebe4bea4705e4cd24aec156bf5 (diff)
Add lang.cpp.enable_exceptions option to enable/disable options, add c20, add c++03, c++98 and c++20
Diffstat (limited to 'include')
-rw-r--r--include/Conf.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp
index a93b44f..574cf94 100644
--- a/include/Conf.hpp
+++ b/include/Conf.hpp
@@ -116,14 +116,18 @@ namespace sibs
{
C89, // aka ansi
C99,
- C11
+ C11,
+ C20
};
enum class CPPVersion
{
+ CPP03,
+ CPP98,
CPP11,
CPP14,
- CPP17
+ CPP17,
+ CPP20
};
enum class Language
@@ -227,6 +231,7 @@ namespace sibs
sanitize(Sanitize::NONE),
showWarnings(false),
errorOnWarning(false),
+ enableExceptions(true),
zigTestAllFiles(false),
packaging(false),
bundling(false),
@@ -420,6 +425,7 @@ namespace sibs
std::vector<FileString> zigTestFiles;
bool showWarnings;
bool errorOnWarning;
+ bool enableExceptions;
bool zigTestAllFiles;
bool packaging;
bool bundling;