bootstrap

Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-11-25 01:32:43 +03:00
commit 3cac890ce9
57 files changed
+4043

No files matched your search

+12
View File
@@ -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