/X (Ignore Standard Include Paths)
Visual Studio 2005
Prevents the compiler from searching for include files in directories specified in the PATH and INCLUDE environment variables.
/X
You can use this option with the /I (Additional Include Directories) (/Idirectory) option.
To set this compiler option in the Visual Studio development environment
-
Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.
-
Click the C/C++ folder.
-
Click the Preprocessor property page.
-
Modify the Ignore Standard Include Path property.