[Scons-users] Grouped dependency

Arvid Rosén arvid at softube.com
Mon Apr 25 17:58:45 EDT 2016


Hi!

I have a bunch of files. Let's call them A.cpp B.cpp and C.cpp
They are compiled separately and the resulting object files are linked together.

However, if any of A.cpp, B.cpp or C.cpp are changed, I want to rebuild all 3 files. Can this be achieved in any easy way using SCons?

I guess I could loop over all files and have them all depend on each other, but we are talking thousands of files here, so if there are simpler ways, that would be good!

Cheers,
Arvid

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160425/5dfd283a/attachment.html>


More information about the Scons-users mailing list