Add 'build' DSL method.

Disallow processing Environments until configuration is performed.
This commit is contained in:
josh committed 2018-12-17 22:14:35 -05:00
1 parent 5720662b7c
commit f8e6666a2c
90 files changed
+637 -434

No files matched your search

+5 -3
View File
@@ -1,4 +1,6 @@
Rscons::Environment.new do |env|
env.CFile("lexer.c", "lexer.l")
env.CFile("parser.c", "parser.y")
build do
Rscons::Environment.new do |env|
env.CFile("lexer.c", "lexer.l")
env.CFile("parser.c", "parser.y")
end
end
+4 -2
View File
@@ -1,3 +1,5 @@
Rscons::Environment.new do |env|
env.CFile("file.c", "foo.bar")
build do
Rscons::Environment.new do |env|
env.CFile("file.c", "foo.bar")
end
end