vs2008 项目配置

来源:互联网 发布:电魂网络与阿里巴巴 编辑:程序博客网 时间:2024/05/28 06:04

1:C/C++ => General => Additional Include directories

Tells the compiler where to look for header files enclosed in angle brackets.

2: Configuration Properties => Linker => General => Additional Library directories.

Tells the linker where to look for libraries.

3: Configuration Properties => Linker => Input => Additional dependencies.

Tells the linker what libraries to look for in those directories.

 

 

 Generally if you use 2, you almost certainly need to use 3 as well. 3 tells it what library to link with, and 2 tells it where to find that library. Of course, it can be more than one library as well.

 If a debug and release library are both provided, you typically want to use the debug version in a debug build and the release version in the release build. At the top-left corner of the dialog you select which configuration you want to modify. Typically you'll want to specify directories for both debug and release, but specify individual libraries, one for debug and one for release.