diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-06-27 16:13:58 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:32 +0200 |
commit | 5bb7ee28bc4f5a0ee119de46165c507d6db995a3 (patch) | |
tree | 42f0c8751dcff69e27f5698f703c0f253d361fa6 /src | |
parent | 02eb206cb76c9efd6cecf9f9493eecfa410d4da3 (diff) |
Only show warnings in main project. TODO: Add option to show for dependencies
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 14e9a73..2dc1364 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -381,6 +381,7 @@ int buildProject(int argc, const _tinydir_char_t **argv) #endif SibsConfig sibsConfig(compiler, projectPath, optimizationLevel, false); + sibsConfig.showWarnings = true; sibsConfig.setSanitize(sanitize); return buildProject(projectPath, projectConfFilePath, sibsConfig); } @@ -445,6 +446,7 @@ int testProject(int argc, const _tinydir_char_t **argv) #endif SibsConfig sibsConfig(compiler, projectPath, OPT_LEV_DEBUG, true); + sibsConfig.showWarnings = true; sibsConfig.setSanitize(sanitize); return buildProject(projectPath, projectConfFilePath, sibsConfig); } |