[Scons-users] Fwd: target/alias specific checks
Jakob Lombacher
kontakt at lombacher.net
Thu Apr 11 18:39:55 EDT 2013
Great that did it.
Thanks a lot, Dirk.
Jakob
2013/4/11 Dirk Bächle <tshortik at gmx.de>
> Hi Jakob,
>
>
> On 11.04.2013 13:00, Jakob Lombacher wrote:
>
>>
>> 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?
>>
>>
> yes, check out the MAN page of SCons and search for "BUILD_TARGETS".
>
> Best regards,
>
> Dirk
>
> ______________________________**_________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/**mailman/listinfo/scons-users<http://four.pairlist.net/mailman/listinfo/scons-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130412/46c5548e/attachment.htm>
More information about the Scons-users
mailing list