commit
3cac890ce9
57 files changed
+4043
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#include "defaults.hpp"
|
||||
|
||||
namespace build_support {
|
||||
void compiler_warnings(vbs::Target target, const vbs::ProfileContext &context) {
|
||||
target.compile_option("-Wall").compile_option("-Wextra");
|
||||
if (context.compiler == vbs::CompilerFamily::gcc) {
|
||||
target.compile_option("-Wduplicated-cond");
|
||||
} else {
|
||||
target.compile_option("-Wextra-semi");
|
||||
}
|
||||
}
|
||||
} // namespace build_support
|
||||
Reference in new issue
Block a user