Switch to Linux line endings.
This commit is contained in:
parent
a647bd4b20
commit
6f73919a04
58
Rsconscript
58
Rsconscript
@ -1,29 +1,29 @@
|
||||
configure do
|
||||
check_d_compiler
|
||||
end
|
||||
|
||||
build do
|
||||
Environment.new do |env|
|
||||
sources = []
|
||||
dirs = [
|
||||
"source",
|
||||
"modules/DerelictUtil/source",
|
||||
"modules/DerelictSDL2/source",
|
||||
"modules/DerelictGL3/source",
|
||||
"modules/gl3n/gl3n",
|
||||
"modules/glamour/glamour",
|
||||
].each do |dir|
|
||||
sources += glob("#{dir}/**/*.d")
|
||||
end
|
||||
env["D_IMPORT_PATH"] += [
|
||||
"modules/DerelictUtil/source",
|
||||
"modules/DerelictSDL2/source",
|
||||
"modules/DerelictGL3/source",
|
||||
"modules/gl3n",
|
||||
"modules/glamour",
|
||||
]
|
||||
env["DFLAGS"] += ["-fversion=Derelict3", "-fversion=gl3n", "-fversion=SDLImage2"]
|
||||
env["LDFLAGS"] += ["-static-libgcc"]
|
||||
env.Program("app", sources)
|
||||
end
|
||||
end
|
||||
configure do
|
||||
check_d_compiler
|
||||
end
|
||||
|
||||
build do
|
||||
Environment.new do |env|
|
||||
sources = []
|
||||
dirs = [
|
||||
"source",
|
||||
"modules/DerelictUtil/source",
|
||||
"modules/DerelictSDL2/source",
|
||||
"modules/DerelictGL3/source",
|
||||
"modules/gl3n/gl3n",
|
||||
"modules/glamour/glamour",
|
||||
].each do |dir|
|
||||
sources += glob("#{dir}/**/*.d")
|
||||
end
|
||||
env["D_IMPORT_PATH"] += [
|
||||
"modules/DerelictUtil/source",
|
||||
"modules/DerelictSDL2/source",
|
||||
"modules/DerelictGL3/source",
|
||||
"modules/gl3n",
|
||||
"modules/glamour",
|
||||
]
|
||||
env["DFLAGS"] += ["-fversion=Derelict3", "-fversion=gl3n", "-fversion=SDLImage2"]
|
||||
env["LDFLAGS"] += ["-static-libgcc"]
|
||||
env.Program("app", sources)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user