[Scons-users] placing object files to one common directory

Endre Bak ebak32 at gmail.com
Mon Apr 27 14:48:05 EDT 2015


Hi,

I would like to place all object files from multiple source directories
into one common object directory. Is that possible?
I tried it with the following code:

for src in [GTEST_DIR, 'src', 'mock']:
    VariantDir('objs', src, duplicate=0)

But it is rejected:
scons: *** 'objs' already has a source directory:
'/home/endre/Prg/Repos/GTestGMock/gtest-1.7.0'.

Thanks,
Endre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150427/2da22d8c/attachment.html>


More information about the Scons-users mailing list