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.
5 lines
142 B
Plaintext
5 lines
142 B
Plaintext
env(echo: :command) do |env|
|
|
env.Object("one.o", "one.c", 'CPPFLAGS' => ['-DONE'])
|
|
env.Program('two_sources.exe', ['one.o', 'two.c'])
|
|
end
|