Update to rscons 3.1.0

This commit is contained in:
Josh Holtrop 2023-01-07 19:44:23 -05:00
parent 8f56588744
commit 3f25e11eec
3 changed files with 52 additions and 31 deletions

2
.gitignore vendored
View File

@ -1,4 +1,2 @@
/app
/app.exe
/build/ /build/
/.rscons* /.rscons*

View File

@ -3,8 +3,7 @@ configure do
check_cfg package: "freetype2" check_cfg package: "freetype2"
end end
build do env "app" do |env|
Environment.new do |env|
sources = [] sources = []
dirs = [ dirs = [
"src", "src",
@ -27,6 +26,5 @@ build do
] ]
env["DFLAGS"] += ["-fversion=Derelict3", "-fversion=gl3n", "-fversion=SDLImage2"] env["DFLAGS"] += ["-fversion=Derelict3", "-fversion=gl3n", "-fversion=SDLImage2"]
env["LDFLAGS"] += ["-static-libgcc"] env["LDFLAGS"] += ["-static-libgcc"]
env.Program("app", sources) env.Program("^/app", sources)
end
end end

33
rscons

File diff suppressed because one or more lines are too long