[Scons-users] problem copying files to variant directory
Mark Diekhans
markd at kermodei.com
Sat Mar 11 11:24:13 EST 2017
Hi all,
I am building a number of modules with duplicate=False, wanting
to copy only a selected set of files to build to be shared by
other modules.
With the directory structure with
- sconscript
somedir/include/
the include files can be explicitly copied to the variant directory (module two in
the below example).
However with the directory structure with
- sconscript
include/
a circular dependency is generated (module one in
the example):
scons: *** Found dependency cycle(s):
build/one/include/oneA.h -> build/one/include/oneA.h
build/one/include/oneB.h -> build/one/include/oneB.h
This happens using either Install or Copy.
Example is here:
http://hgwdev.soe.ucsc.edu/~markd/scons/installHeaderProblem.tar.gz
I suspect the best approach is to allow scons to copy everything, however
I am curious is causing this problem.
Thank you,
Mark
More information about the Scons-users
mailing list