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.
8 lines
162 B
Ruby
8 lines
162 B
Ruby
env "first" do |env|
|
|
env["CPPPATH"] += glob("src/**")
|
|
end
|
|
|
|
Environment["first"].clone "typical" do |env|
|
|
env.Program("^/typical.exe", glob("src/**/*.c"))
|
|
end
|