From cf0c9479deedcbfc0592ac6d207b22ebf3655567 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 27 Jun 2023 02:27:44 +0200 Subject: Add --cpu=baseline|native option, propagate sanitize setting to sub projects --- include/Conf.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/Conf.hpp') diff --git a/include/Conf.hpp b/include/Conf.hpp index 54c6b89..13fadcf 100644 --- a/include/Conf.hpp +++ b/include/Conf.hpp @@ -16,6 +16,13 @@ namespace sibs { + enum CPU + { + CPU_INVALID, + CPU_BASELINE, + CPU_NATIVE + }; + class ConfigValue { public: @@ -432,6 +439,7 @@ namespace sibs std::string versionStr; PackageVersion version; Platform platform; + CPU cpu = CPU_NATIVE; bool use_lto; bool include_debug_symbols_in_release; std::vector includeDirs; -- cgit v1.2.3