Re: JAVACFLAGS with double-quote, problem with javac

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CGsFHNryaPiAF_Py+wrXQmyPKvi5dc4VazynK_kXG057w@mail.gmail.com>
Does this work?
env.Append(JAVACFLAGS = ['-target','1.7'])

On Sun, Dec 1, 2019 at 1:55 PM Pierre-Luc Boily <[email protected]>
wrote:

> Hello,
>
> While I was playing with Java builder, I realized that when we pass an
> argument with a space to JAVACFLAGS, like :
> env.Append(JAVACFLAGS = ['-target 1.7'])
>
> scons detects a space and add double quotes around the argument, so, javac
> is called this way :
>
> javac "target 1.7"
>
> The problem is javac is too stupid to parse an argument with double
> quote.
>
> My question is, is it possible to tell scons to not double-quoting ?
>
> thx!@
>
>
>
> --
> Sent from: http://scons.1086193.n5.nabble.com/Users-f16930.html
> _______________________________________________
> 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.