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
125 B
Ruby
6 lines
125 B
Ruby
env do |env|
|
|
env["CPPPATH"] << "src/two"
|
|
env.Object("one.o", "src/one/one.c")
|
|
env.Object("one.o", "src/two/two.c")
|
|
end
|