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.
8 lines
188 B
Ruby
8 lines
188 B
Ruby
env do |env|
|
|
command = %W[gcc -o ${_TARGET} ${_SOURCES}]
|
|
env.Command("simple.exe",
|
|
"simple.c",
|
|
"CMD" => command,
|
|
"CMD_DESC" => "BuildIt")
|
|
end
|