Configure parameters should not be stored as unscoped construction variables - close #160

This commit is contained in:
Josh Holtrop 2022-03-14 00:34:52 -04:00
parent f06d37c8b9
commit 866b40d872

View File

@ -23,14 +23,11 @@ module Rscons
$stdout.puts "Configuring project..."
end
end
vars = {}
Task["configure"].params.each do |name, param|
unless Rscons.application.silent_configure
Ansi.write($stdout, "Setting #{name}... ", :green, param.value, :reset, "\n")
end
vars[name] = param.value
end
store_merge(vars)
end
# Close the log file handle.