Streamline Boost tests for compiled libraries and add documentation on Boost module usage

This commit is contained in:
Roberto Di Remigio
2015-10-13 10:26:16 +02:00
parent cff0797b7b
commit ae87734faf
11 changed files with 52 additions and 144 deletions

View File

@@ -4,10 +4,5 @@ if(BUILD_CUSTOM_BOOST)
add_dependencies(example custom_boost)
endif()
set(_libs ${Boost_TIMER_LIBRARY} ${Boost_CHRONO_LIBRARY} ${Boost_SYSTEM_LIBRARY})
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(_libs ${_libs} rt)
endif()
target_link_libraries(example ${_libs})
target_link_libraries(example ${Boost_MPI_LIBRARY} ${Boost_SERIALIZATION_LIBRARY} ${MPI_CXX_LIBRARIES}
${Boost_PYTHON_LIBRARY} ${PYTHON_LIBRARIES})