Frage

Where are 'global macros' for VS2010 project properties defined ?

With global macros, i mean the variables after a $ sign, for instance in

$(SolutionDir)My_build\$(ProjectName)\$(Configuration)\$(Platform)\objects\

Where are SolutionDir, ProjectName defined ?

The line i mention as an example is in the Intermediate Directory properties in VS2010 project properties.

War es hilfreich?

Lösung

I don't think this has changed (I'm using VS 2013)

Right click your project and select "Properties"

Click "Build Events"

Click "Edit Pre-build..."

Click "Macros >>"

There they are.

Andere Tipps

These are macros for build commands and properties that come along with Visual Studio.

You can use these macros anywhere in a project's Property Pages dialog box where strings are accepted. These macros are not case sensitive.

To display the currently available macros, in the column to the right of a property name, click the drop-down arrow. If Edit is available, click it and then in the edit dialog box, click Macros. For more information, see the Specifying User-Defined Values section of Property Pages (C++).

Check out here for more info.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top