Implement VoidBuildSystem v1 (Plans 01-19) with VoidLibrary integration
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
This commit is contained in:
1 parent
3cac890ce9
commit
ab64147f9d
114 files changed
+23777
-1392
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#include "Defaults.hpp"
|
||||
|
||||
namespace BuildSupport {
|
||||
void compiler_warnings(Void::Build::Target target, const Void::Build::ProfileContext &context) {
|
||||
target.compile_option("-Wall").compile_option("-Wextra");
|
||||
if (context.compiler == Void::Build::CompilerFamily::Gcc) {
|
||||
target.compile_option("-Wduplicated-cond");
|
||||
} else {
|
||||
target.compile_option("-Wextra-semi");
|
||||
}
|
||||
}
|
||||
} // namespace BuildSupport
|
||||
Reference in new issue
Block a user