From 445fd7c1968112664b1fbbe6215ed76609cfb8ac Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 21 Oct 2021 11:06:17 +0200 Subject: Add lang.cpp.enable_exceptions option to enable/disable options, add c20, add c++03, c++98 and c++20 --- include/Conf.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include') 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 zigTestFiles; bool showWarnings; bool errorOnWarning; + bool enableExceptions; bool zigTestAllFiles; bool packaging; bool bundling; -- cgit v1.2.3