www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Where are the Env Variables (Macros) in Visual Studio Shells for D?

reply "WhatMeWorry" <kheaser gmail.com> writes:
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.
Oct 10 2014
parent "Brad Anderson" <eco gnuk.net> writes:
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
Oct 10 2014