use Rsconscript instead of Rsconsfile - close #62
This commit is contained in:
1 parent
9975eec165
commit
1eb07e9a22
15 files changed
+164
-164
No files matched your search
@@ -0,0 +1,5 @@
|
||||
Rscons::Environment.new do |env|
|
||||
env.append('CPPPATH' => Rscons.glob('src/**'))
|
||||
env.build_dir(%r{^src/([^/]+)/}, 'build_\\1/')
|
||||
env.Program('build_dir.exe', Rscons.glob('src/**/*.c'))
|
||||
end
|
||||
Reference in new issue
Block a user