[Scons-users] visual studio 2019 with 2017 addon

Bill Deegan bill at baddogconsulting.com
Sat Jun 13 14:18:59 EDT 2020


Should also work with forward slashes right?


On Sat, Jun 13, 2020 at 8:00 AM Mats Wichmann <mats at wichmann.us> wrote:

> On 6/13/20 8:53 AM, Pierre-Luc Boily wrote:
> > Oh my, shame on me,
> >
> > THe problem was I was passing an incorrect string :
> >
> > MSVC_USE_SCRIPT='C:\Program Files (x86)\Microsoft Visual
> > Studio\2017\Professional\VC\Auxiliary\Build\vcvarsx86_amd64.bat')
> >
> > Should be like that
> >
> > MSVC_USE_SCRIPT='C:\\ProgramFiles (x86)\\Microsoft Visual
> > Studio\\2017\\Professional\\VC\\Auxiliary\\Build\\vcvarsx86_amd64.bat')
> >
> > Everything works as expected now... thanks for this workaround... and
> sorry
> > for this stupid mistake..
>
> Cool!
>
> using rawstrings whenever there are Windows paths involved is a sound
> practice...  those irritating backslashes always cause trouble:
>
> MSVC_USE_SCRIPT=r'C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Professional\VC\Auxiliary\Build\vcvarsx86_amd64.bat'
> _______________________________________________
> 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/20200613/22a347e8/attachment.html>


More information about the Scons-users mailing list