aboutsummaryrefslogtreecommitdiff
path: root/include/Conf.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-20 17:23:54 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-20 17:23:54 +0200
commit4aaeaea1d7c16fe12194c1d78214de34879645a4 (patch)
tree60dcf374a09fb916335cdc65d1bbc1f7c3292867 /include/Conf.hpp
parentd580d6cd7d3ff24b820d9ea383cb9e766f4416f4 (diff)
Add --debug-symbols to include debug symbols in release builds
Diffstat (limited to 'include/Conf.hpp')
-rw-r--r--include/Conf.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp
index cfe0133..a93b44f 100644
--- a/include/Conf.hpp
+++ b/include/Conf.hpp
@@ -231,7 +231,8 @@ namespace sibs
packaging(false),
bundling(false),
platform(SYSTEM_PLATFORM),
- use_lto(false)
+ use_lto(false),
+ include_debug_symbols_in_release(false)
{
cmakeDirGlobal = projectPath;
switch(optimizationLevel)
@@ -426,6 +427,7 @@ namespace sibs
PackageVersion version;
Platform platform;
bool use_lto;
+ bool include_debug_symbols_in_release;
std::vector<std::string> includeDirs;
std::vector<std::string> exposeIncludeDirs;
std::vector<std::string> ignoreDirs;