Issue with sc.ini within XMake build infrastructure

Andre Pany andre at s-e-a-p.de
Thu Nov 2 12:56:21 UTC 2017


On Thursday, 2 November 2017 at 12:21:50 UTC, rikki cattermole 
wrote:
>
> Override the shipped sc.ini file with your own. Simple and 
> effective solution.

What I just found out, by calling the batch file "vcvars64.bat" 
from the visual studio folder it seems everything is already pre 
configured (LIB environment variable needed for the linker 
contains paths to lib\x64,  ucrt\x64 and um\x64) and also the 
path environment variable has already the right value in first 
place:

Path=C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64;

I have to ship an almost empty sc.ini. Everything else is set by 
the vcvars64.bat file.

It would be great if the default sc.ini would anticipate the 
usage of vcvars*.bat.
Just call the batch and everything works out of the box.

Kind regards
André




More information about the Digitalmars-d-learn mailing list