[Scons-users] ParseDepends and duplicate with variant directories

Bill Deegan bill at baddogconsulting.com
Wed Dec 20 11:41:15 EST 2017


Gotcha. So the rewritten c scanner in the bitbucket.org pull request should
handle these..

On Wed, Dec 20, 2017 at 11:37 AM, Gaurav Juvekar <gauravjuvekar at gmail.com>
wrote:

> Hi,
>
> > not sure why the organization of the third party source code would
> matter.
> > Can you explain?
> >
>
> I have files (anonymised) like this, where different variants of the build
> can be selected by -DSELECT_CONFIG=config{1,2,3}
>
> module/configurable/config.h: #include <SELECT_CONFIG/SELECT_CONFIG.h>
> module/configurable/config1/init.c: #include <config.h>
> module/configurable/config1/config1.h
> module/configurable/config2/init.c: #include <config.h>
> module/configurable/config2/config2.h
> module/configurable/config3/init.c: #include <config.h>
> module/configurable/config3/config3.h
>
> I can't really modify these files or the structure. Right now, I have a
> module/configurable/SConscript which checks CPPDEFINES for SELECT_CONFIG,
> and manually adds SELECT_CONFIG/SELECT_CONFIG.h as a dependency of config.h
>
> --
> Regards,
> Gaurav Juvekar
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20171220/c0707fbe/attachment.html>


More information about the Scons-users mailing list