[Scons-users] Value nodes as targets

Jason Kenny dragon512 at live.com
Tue Jun 4 22:47:18 EDT 2019


I know I can use them in builders as targets and sources. I thought at one point a scons allowed them to be used as command line targets ie ..

scons myvalue

however when I try such as thing I get a error message that the myvalue file is not found. If I make the “myvalue” node to an env.Alias(“myAlias”,myvalue) I can then say

scons myAlias

and the myvalue node will build.

Jason

From: Scons-users <scons-users-bounces at scons.org> On Behalf Of Jonathon Reinhart
Sent: Tuesday, June 4, 2019 9:03 PM
To: SCons users mailing list <scons-users at scons.org>
Subject: Re: [Scons-users] Value nodes as targets

Value nodes can however be used as source nodes. The textfile builder does this.

On Tue, Jun 4, 2019, 15:38 Jason Kenny <dragon512 at live.com<mailto:dragon512 at live.com>> wrote:
Hi,

I just wanted to make sure I was correct in the understanding that we cannot use Value nodes as targets for SCons.

A user has to map a value node to a Alias to have SCons call it.

Jason
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users<https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7C%7C67bb52255f5c466bfa5508d6e95a0876%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636952970223855377&sdata=MFmVKFo3U%2FgDAviNVsNfI6cNV6Hc8O%2B9QjSI1ZmKAeI%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190605/2608c5dc/attachment-0001.html>


More information about the Scons-users mailing list