Determine list of source files (*.[ch]) for a complex build with scons -
Assume that you have a complex source tree for a C project, which has many files, (I386, SPARC, PowerPC) and many forms (debug, release). There is a Is this an easy way to determine which source files (* .c and * .h) will use each of these builds (are they all slightly different)? My theory is that Scones will have to decide to set up this file anyway, what files it will ask to compile and recompile, can this information be provided? What do I do not : Ideally I want to target the There are some questions When you combine all together, you end up with something like this: scanstrict on the root (different
sconscripts
scan target = i386 variant = release .
scan See the appropriate list of = I386 variant = release printfileset and *. [CC] Files This list works as an input for further source files, such as Doxygen.
scons target = i386 variant = release printfileset -n -tree = All | Egrep -i '^. * \. (C | h | cpp | cxx | hpp | inl) $ '
Comments
Post a Comment