[Scons-users] depending PHONY targets
Endre Bak
ebak32 at gmail.com
Sun Jan 17 12:17:50 EST 2016
I mean that the target is not a file Node. The target is always executed
when it is requested, there is no check to decide whether it is up-to-date
or not.
On Sun, Jan 17, 2016 at 5:54 PM, Bill Deegan <bill at baddogconsulting.com>
wrote:
> Alias() ?
>
> On Sun, Jan 17, 2016 at 4:05 AM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
>> I'm not sure what a PHONY target is unless maybe you are using the Make
>> concept?
>>
>> On Sun, Jan 17, 2016 at 10:31 AM, Endre Bak <ebak32 at gmail.com> wrote:
>>
>>> Ok, I guess it will do:
>>>
>>> def PhonyTarget(env=None, target=None, source=None, action=None):
>>> if not env: env = DefaultEnvironment()
>>> env.AlwaysBuild(env.Alias(target, source, action))
>>>
>>> On Sun, Jan 17, 2016 at 11:06 AM, Endre Bak <ebak32 at gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> Is it possible in scons to create PHONY targets which are depending on
>>>> other targets?
>>>> I haven't found any example for it.
>>>>
>>>> Thanks
>>>>
>>>
>>>
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
>
> _______________________________________________
> 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/20160117/8bd48e24/attachment-0001.html>
More information about the Scons-users
mailing list