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
|
||||
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <Void/Build.hpp>
|
||||
|
||||
namespace BuildSupport {
|
||||
void compiler_warnings(Void::Build::Target target, const Void::Build::ProfileContext &context);
|
||||
} // namespace BuildSupport
|
||||
@@ -1,12 +0,0 @@
|
||||
#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
|
||||
@@ -1,7 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <vbs/build.hpp>
|
||||
|
||||
namespace build_support {
|
||||
void compiler_warnings(vbs::Target target, const vbs::ProfileContext &context);
|
||||
} // namespace build_support
|
||||
Reference in new issue
Block a user