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.
9 lines
185 B
Ruby
9 lines
185 B
Ruby
configure do
|
|
check_lib "m", check_libpath: ["./usr1"]
|
|
check_lib "frobulous", check_libpath: ["./usr2"]
|
|
end
|
|
|
|
env(echo: :command) do |env|
|
|
env.Program("simple.exe", "simple.c")
|
|
end
|