[Scons-users] vswhere.. does it find all the versions of visual studio SCons users care about?
Bill Deegan
bill at baddogconsulting.com
Tue Feb 20 22:57:20 EST 2018
SCons could drop all the logic which looks in the registry for locations
among other things. And a big pile of tests which would no longer be
needed.
We have to use vswhere to find VS2017 (and above) anyway.
A uniform approach to finding the install would be simpler.
On Tue, Feb 20, 2018 at 9:45 PM, Jason Kenny <dragon512 at live.com> wrote:
> I am not sure how that is going to help much. This gives you an install
> root to start from, however the stuff under this is not 100% the same for
> the different versions of VS. I don’t this solves issues with the WinSdk as
> well.
>
>
>
> Jason
>
>
>
> *From:* Scons-users [mailto:scons-users-bounces at scons.org] *On Behalf Of *Bill
> Deegan
> *Sent:* Tuesday, February 20, 2018 8:38 PM
> *To:* SCons users mailing list <scons-users at scons.org>
> *Subject:* Re: [Scons-users] vswhere.. does it find all the versions of
> visual studio SCons users care about?
>
>
>
> Fingers crossed it'll go back as far as VS 6.0.. ;)
>
>
>
> On Tue, Feb 20, 2018 at 9:20 PM, Eric Fahlgren <ericfahlgren at gmail.com>
> wrote:
>
> Home machine shows both installed versions correctly:
>
>
>
> > c:/Temp/vswhere -all -legacy -property installationPath
>
> C:\Program Files (x86)\Microsoft Visual Studio 14.0\
>
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\
>
>
>
> I'll do a couple more at work tomorrow morning, as I have at least one
> with the "VC 9.0 for Python 2" on it, which I suspect is the hard case.
>
>
>
>
>
> On Tue, Feb 20, 2018 at 4:35 PM, Bill Deegan <bill at baddogconsulting.com>
> wrote:
>
> Greetings,
>
> If you're using visual studio/visual c++ with scons, can you
> download/install vswhere.exe
>
> https://github.com/Microsoft/vswhere/releases/download/2.3.2/vswhere.exe
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvswhere%2Freleases%2Fdownload%2F2.3.2%2Fvswhere.exe&data=02%7C01%7C%7Caa81537bc3b24cf2745208d578d4365d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636547775194932536&sdata=VVlcutsNeXnAaQjDDA791XoQT3M2QMFba8Kvj8fwYjs%3D&reserved=0>
>
> And run it as follows:
>
> vswhere -all -legacy -property installationPath
>
> Please reply with the versions it locates and/or doesn't locate that are
> installed on your systems.
>
> Trying to see if would be possible to use vswhere.exe to drop the somewhat
> complicated logic we have now to find MSVS MSVC installs.
>
> Thanks,
>
> Bill
>
> SCons Project Co-Manager
>
>
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7C%7Caa81537bc3b24cf2745208d578d4365d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636547775194932536&sdata=2GDzX3Psx8SjZeyVtnu996LPngn1AHMD5Xf5RvGo48A%3D&reserved=0>
>
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7C%7Caa81537bc3b24cf2745208d578d4365d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636547775194932536&sdata=2GDzX3Psx8SjZeyVtnu996LPngn1AHMD5Xf5RvGo48A%3D&reserved=0>
>
>
>
> _______________________________________________
> 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/20180220/d6783146/attachment.html>
More information about the Scons-users
mailing list