[CMake] How to include Boost in Visual Studio cmake project

troy d. straszheim troy at resophonic.com
Wed Nov 18 19:53:51 EST 2009


Michael Jackson wrote:
> Just to follow up a bit more, here is my recipe for getting Boost up and 
> running with CMake and Visual Studio.
> 

Another option is to build boost with Boost.CMake, today's 1.41.0 
release is here:

   http://sodium.resophonic.com/boost-cmake/1.41.0.cmake0/

Docs on building are in the 'doc' subdirectory.   Then follow these 
directions for building against it:
 
http://sodium.resophonic.com/boost-cmake/1.41.0.cmake0/doc/exported_targets.html

I'd be glad to see more of you cmake-boosties over on the boost-cmake 
list as well, it'd be good to put these assorted FindBoost issues to bed 
permanently, we need your testing.  If anybody tries that out and finds 
it lacking, please let me know, I'm sure there are scenarios|bugs we 
haven't worked out yet.

-t




More information about the CMake mailing list