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.
5 lines
90 B
Ruby
5 lines
90 B
Ruby
env do |env|
|
|
env["sources"] = glob("*.c")
|
|
env.Program("simple.exe", "${sources}")
|
|
end
|