[Scons-users] Fwd: target/alias specific checks

Jakob Lombacher kontakt at lombacher.net
Thu Apr 11 07:00:01 EDT 2013


This happens if you are not used to shortcut ... sorry.

Here again


I've got a project where I have different targets which are selected by
Aliases.

If i want to build e.g. 'AliasA' I want to check for some additional libs
otherwise not.

I thought about doing it like that

if Alias='AliasA':
env.checkLibWithHeader(....)


But how can I access the command line Alias option?
Or another way would be to check if a specific target, or a specific src
file will be build in the current run. But I've no Idea how to do that?

Any hint?

Thanks

Jakob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130411/74366bda/attachment.htm>


More information about the Scons-users mailing list