Try this. I believe the required FindBoost.cmake is standard in the cmake/shared/cmake-x.y/modules. Not all of these options may apply to your build.
# # BOOST # set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) set(BOOST_ROOT "path/to/boost") # uncomment to debug find_package(Boost): # set(Boost_DEBUG TRUE) find_package(Boost 1.46.1 COMPONENTS system filesystem regex date_time thread serialization python ) On Fri, Aug 5, 2011 at 2:53 PM, fjanoos <fjan...@yahoo.com> wrote: > Dear Braddock, > > I'm trying to build Python wrappers with Boost for a fairly large C++ > project - and most of its configuration is in CMake. Do you have any more > information on using Boost Python through cmake. > > Specifically - i'm interested in configuring cmake to auto-detect (or > atleast require) the boost installation and necessary libraries. > > thanks, > -fj > > -- > View this message in context: > http://boost.2283326.n4.nabble.com/C-sig-CMake-and-getting-starting-with-boost-python-tp2700144p3722133.html > Sent from the Python - c++-sig mailing list archive at Nabble.com. > _______________________________________________ > Cplusplus-sig mailing list > Cplusplus-sig@python.org > http://mail.python.org/mailman/listinfo/cplusplus-sig >
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig