Where are the Env Variables (Macros) in Visual Studio Shells for D?

Brad Anderson via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Fri Oct 10 10:37:16 PDT 2014


On Friday, 10 October 2014 at 17:25:59 UTC, WhatMeWorry wrote:
> I used to use them all the time in Visual Studio Express C++ 
> but for some reason I can't seem to find them.  I've poked and 
> prodded around for days.
>
> thanks.

Of the environment variables the Visual Studio Command Prompts 
set, the default sc.ini makes use of VCINSTALLDIR and 
WindowsSdkDir to enable 64-bit builds. By default the Windows 
installer automatically detects what these should be and sets 
them in sc.ini itself.

If you didn't use the installer dmd should still work when run 
from a Visual Studio Command Prompt. My experience is mostly with 
non-Express so some things may differ.

See the current sc.ini for more details:

https://github.com/D-Programming-Language/dmd/blob/master/ini/windows/bin/sc.ini


More information about the Digitalmars-d-ide mailing list