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
181 B
Ruby
9 lines
181 B
Ruby
configure do
|
|
check_c_header "string.h", check_cpppath: ["./usr1"]
|
|
check_c_header "frobulous.h", check_cpppath: ["./usr2"]
|
|
end
|
|
|
|
env do |env|
|
|
env.Object("test.o", "test.c")
|
|
end
|