Re: Value nodes as targets

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CHiS=VKec0WVBcy4JaTg3V6oBi7COpoYVx_hxU7i6WLyQ@mail.gmail.com>
Regardless of whether they can be command line targets, would that preclude
them as being builder targets?
In which case they should provide methods to indicate whether they are
built or not yet.

I guess the real question is anyone using them as targets at this point?
We'd not want to break that (or at least without providing alternative
mechanism and deprecation cycle.. )


On Tue, Jun 4, 2019 at 10:47 PM Jason Kenny <[email protected]> wrote:

> 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]> 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]
> 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
>

_______________________________________________
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.