execute all build tests in the top-level rake context instead of spawning subprocesses

This commit is contained in:
josh committed 2013-11-05 16:11:08 -05:00
1 parent 71344b4782
commit b805e5379f
10 files changed
+135 -112

No files matched your search

-11
View File
@@ -1,11 +0,0 @@
debug = Rscons::Environment.new do |env|
env.build_dir('src', 'debug')
env['CFLAGS'] = '-O2'
env['CPPFLAGS'] = '-DSTRING="Debug Version"'
env.Program('program-debug', Dir['src/*.c'])
end
release = debug.clone('CPPFLAGS' => '-DSTRING="Release Version"') do |env|
env.build_dir('src', 'release')
env.Program('program-release', Dir['src/*.c'])
end