首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > VSTS >

vs2010更动Additional Include Directories

2012-08-28 
vs2010更改Additional Include DirectoriesdirectoryThe directory to be added to the list of directori

vs2010更改Additional Include Directories
directory

    The directory to be added to the list of directories searched for include files.

Remarks

To add more than one directory, use this option more than once. Directories are searched only until the specified include file is found.

You can use this option with the Ignore Standard Include Paths (/X (Ignore Standard Include Paths)) option.

The compiler searches for directories in the following order:

    Directories containing the source file.

    Directories specified with the /I option, in the order that CL encounters them.

    Directories specified in the INCLUDE environment variable.

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 General property page.

    Modify the Additional Include Directories property.


原文:http://msdn.microsoft.com/en-us/library/73f9s62w.aspx

热点排行