change build_dir build test to test build_dir specified as a Regexp

This commit is contained in:
josh committed 2013-10-04 21:40:11 -04:00
1 parent e50aac31c9
commit dc6bac2895
3 files changed
+17 -20

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
Rscons::Environment.new do |env|
env.append('CPPPATH' => Dir['src/**/*/'])
env.build_dir('src', 'build')
env.build_dir(%r{^src/([^/]+)/}, 'build_\\1/')
env.Program('build_dir', Dir['src/**/*.c'])
end