rscons/build_tests/configure/multiple_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

11 lines
235 B
Ruby

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