Re: Value nodes as targets

Jason Kenny <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <SN2PR01MB20455F6E98F90B2283F5A15684160@SN2PR01MB2045.prod.exchangelabs.com>
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 <[email protected]> On Behalf Of Jonathon Reinhart
Sent: Tuesday, June 4, 2019 9:03 PM
To: SCons users mailing list <[email protected]>
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 <[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
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>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.