rscons/build_tests/configure/check_c_header_success_set_define.rb
Josh Holtrop f8e6666a2c Add 'build' DSL method.
Disallow processing Environments until configuration is performed.
2018-12-17 22:14:35 -05:00

10 lines
184 B
Ruby

configure do
check_c_header "string.h", set_define: "HAVE_STRING_H"
end
build do
Rscons::Environment.new(echo: :command) do |env|
env.Object("simple.o", "simple.c")
end
end