### #pragma sourcedir (C++, OS/2, Windows)

The #pragma sourcedir directive defines a new path to the directory containing the original source from which the compiler generates files in the TEMPINC directory.

    >>--#--pragma--sourcedir--(--path--)--><

Instead of searching the TEMPINC directory first for the original source of the include file, the pragma directs the compiler to the directory specified by the supplied path. The compiler automatically inserts the necessary #pragma sourcedir directives into the source files it generates in the TEMPINC directory.

- Pragma Directives (#pragma)
- Preprocessor Directives