[Scons-users] visual studio 2019 with 2017 addon

Pierre-Luc Boily pierreluc.boily at gmail.com
Mon Jun 15 10:18:22 EDT 2020


I confirm, forward slashes also work.  I still have the (bad) habit of
using windows slashes....

Le sam. 13 juin 2020, à 14 h 19, Bill Deegan <bill at baddogconsulting.com> a
écrit :

> 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/20200615/e710948d/attachment.html>


More information about the Scons-users mailing list