문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top