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
119 B
Ruby
8 lines
119 B
Ruby
configure do
|
|
check_d_compiler "ldc2"
|
|
end
|
|
|
|
env(echo: :command) do |env|
|
|
env.Program("hello-d.exe", glob("*.d"))
|
|
end
|