How do I tell SCons to put the binary in another directory?
This is what I currently do:
env = Environment(CC = 'g++', CCFLAGS = '-O2 -march=i686 -Wall')
env.Program('binary_i686',['../../src/main.cpp'])
And this is what I want to do:
env = Environment(CC = 'g++', CCFLAGS = '-O2 -march=i686 -Wall')
env.Program('../../binary_i686',['../../src/main.cpp'])
But then it just returns:
Quote:
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
Any ideas?
[Edited by - BBB on April 18, 2007 3:42:27 PM]