Boost linking, Visual Studio & version control

后端 未结 5 1727
南方客
南方客 2021-01-18 23:19

I\'m using Visual Studio 2008, and writing some stuff in C++. I\'m using a Boost library (that is not header only).

So, linking to Boost requires one to add

5条回答
  •  难免孤独
    2021-01-19 00:04

    We use a repository containing 3rd party libraries, then use svn:externals to checkout the required parts into the project's base directory, finally use relative paths for additional include and library directories in the project file. Works well, only disadvantage is that you can end up with several boost copies on your harddisk. Using junctions (Windows' version of symbolic links for directories only, works at least from Win2k on, not sure about NT) you can get rid of the wasted space.

提交回复
热议问题