DOC: $(InputDir) and $(ProjDir) Produce Relative Paths (168407)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 5.0

This article was previously published under Q168407

SUMMARY

The following article:

TITLE: Macros for Custom Build Commands URL : mk:@ivt:dsug/D7/S111AB.HTM

states that $(InputDir) and $(ProjDir) evaluate to the fully-qualified path to the project directory. This is in error.

MORE INFORMATION

$(InputDir) evaluates to the path of the directory containing the input file. This path is relative to the project directory if the input file is in the directory tree rooted at the directory containing the project file. Otherwise, it is absolute.

$(ProjDir) evaluates to the path of the directory specified for the project, relative to the project directory (i.e., always evaluates to).

Modification Type:MajorLast Reviewed:10/17/2003
Keywords:kbbug kbdocerr kbfix KB168407