Re: How to get path of Windows SDK using SCons

Eric Fahlgren <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAP2Qz+U2tWGgCsHsnuxqmAHJ=yJwvuNYPu_Ya2i5ip0iXxzkEQ@mail.gmail.com>
Yeah, I do something like this to get to the root for the MSVC's
redist.exe, which we package in our installer, but he's looking for the
DLLs in a whole different directory tree, so this probably won't work
there...

        from SCons.Tool.MSCommon.vc import find_vc_pdir_vswhere
        vs_root = find_vc_pdir_vswhere(env['MSVC_VERSION']
        ...

On Mon, Sep 16, 2019 at 5:30 PM Bill Deegan <[email protected]>
wrote:

> If I understand correctly  he's wondering if scons' msvc initialization
> sets some variable he can use in a command to copy these files into his
> build tree..
>
> On Mon, Sep 16, 2019 at 5:22 PM Mats Wichmann <[email protected]> wrote:
>
>> On 9/16/19 11:11 AM, Lukasz Golonka wrote:
>> > Hello,
>> > Sorry for the late reply.
>> > My goal is to copy Universal CRT libraries to the directory of my
>> > program as part of SCons execution. |These libraries are located in the
>> C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86
>> > At least on my machine. According to the Microsoft documentation the
>> > second part of this path is always the same however location of Windows
>> > 10 SDK may differ between machines.
>> > Is it possible to retrieve it via SCons?
>> >
>>
>> SCons doesn't know anything about the crt/ucrt redistributable bits, it
>> just expects things to work.
>>
>> Is there something it should be doing here?
>> _______________________________________________
>> 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
>

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