www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Is there a way to view or modify the macros in VisualD?

reply WhatMeWorry <kheaser gmail.com> writes:
For C++ you could click on the field and select <edit>

And by macros I mean the following

DMDINSTALLDIR: DMD Install path
WINDOWSSDKDIR: Windows SDK Directory
DEVENVDIR: Directory of Visual Studio executable devenv.exe
VSINSTALLDIR: Root directory of Visual Studio installation
VISUALDINSTALLDIR: Installation folder of Visual D
PLATFORMNAME: always Win32
CONFIGURATIONNAME
OUTDIR: Ouptut path
INTDIR: Intermediate path
INPUTPATH/DIR/FILENAME/EXT/NAME: input file/project file 
components
PROJECTPATH/DIR/FILENAME/EXT/NAME: project file components
SOLUTIONPATH/DIR/FILENAME/EXT/NAME: solution file components
TARGETPATH/DIR/FILENAME/EXT/NAME: target file components
any variable from the system environment
Aug 18 2020
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 18/08/2020 09:18, WhatMeWorry wrote:
 
 For C++ you could click on the field and select <edit>
I don't think you can modify the macro values there.
 
 And by macros I mean the following
 
 DMDINSTALLDIR: DMD Install path
 WINDOWSSDKDIR: Windows SDK Directory
 DEVENVDIR: Directory of Visual Studio executable devenv.exe
 VSINSTALLDIR: Root directory of Visual Studio installation
 VISUALDINSTALLDIR: Installation folder of Visual D
 PLATFORMNAME: always Win32
 CONFIGURATIONNAME
 OUTDIR: Ouptut path
 INTDIR: Intermediate path
 INPUTPATH/DIR/FILENAME/EXT/NAME: input file/project file components
 PROJECTPATH/DIR/FILENAME/EXT/NAME: project file components
 SOLUTIONPATH/DIR/FILENAME/EXT/NAME: solution file components
 TARGETPATH/DIR/FILENAME/EXT/NAME: target file components
 any variable from the system environment
There is no dialog similar to C++ for the visuald projects, but with the integration with VC projects. Visual D's list of variables is not so large as with C++, so it's less of a problem. But I agree, it is sometimes nice to see the exact spelling and value ("does this variable have a trail '\' ?").
Aug 18 2020