Add env() method to create environments. Process all environments created at build script top level before executing any autoconf-enabled tasks, or if no tasks are specified by the user.
6 lines
172 B
Ruby
6 lines
172 B
Ruby
env do |env|
|
|
env.Program("library.exe", ["lib.a", "three.c"])
|
|
env.Object("two.o", "two.c")
|
|
env.Library("lib.a", ["one.c", "two.o"], 'CPPFLAGS' => ['-Dmake_lib'])
|
|
end
|