Configure parameters should not be stored as unscoped construction variables - close #160
This commit is contained in:
parent
f06d37c8b9
commit
866b40d872
@ -23,14 +23,11 @@ module Rscons
|
|||||||
$stdout.puts "Configuring project..."
|
$stdout.puts "Configuring project..."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
vars = {}
|
|
||||||
Task["configure"].params.each do |name, param|
|
Task["configure"].params.each do |name, param|
|
||||||
unless Rscons.application.silent_configure
|
unless Rscons.application.silent_configure
|
||||||
Ansi.write($stdout, "Setting #{name}... ", :green, param.value, :reset, "\n")
|
Ansi.write($stdout, "Setting #{name}... ", :green, param.value, :reset, "\n")
|
||||||
end
|
end
|
||||||
vars[name] = param.value
|
|
||||||
end
|
end
|
||||||
store_merge(vars)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Close the log file handle.
|
# Close the log file handle.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user