■
All Configurations (Debug/Release)
C/C++ > Command line > Additional options > /D BOOST_ALL_DYN_LIB C/C++ > General > Additional Include Direcotries: $(BOOST_ROOT) C/C++ > Precompile Header > Not Using Precompile Headers C/C++ > Code Generation > Runtime Library: Multithreaded DLL (/MD) Linker > General > Additional Library Directories: $(BOOST_ROOT)/lib Linker > Manifest File > Generate Manifest: Yes Linker > Command Line > Additional options: boost_yyy-vc90-mt-1_35.lib or others
Runtime libraries:
copy boost-XXX-vc90-mt-1_35.dll to $(SolutionDir)\Release
Command line compile/link:
cl /EHsc /MD /D BOOST_ALL_DYN_LIB /I %BOOST_ROOT% xxx.cpp /link boost_yyy-vc90-mt-1_35.lib
NB:
- BOOST_ROOT: Environment variable of Boost installation root
- yyy: boost libraries needed in some cases e.g serialization, graph, and regex