Added module for Boost detection and automatic build-up
This commit is contained in:
committed by
Roberto Di Remigio
parent
ea694c0bdd
commit
1780e4a189
9
modules/boost/boost_install.cmake
Normal file
9
modules/boost/boost_install.cmake
Normal file
@ -0,0 +1,9 @@
|
||||
# Install Boost
|
||||
add_custom_command(
|
||||
OUTPUT ${CUSTOM_BOOST_LOCATION}/boost.installed
|
||||
COMMAND ./b2 install toolset=${toolset} variant=${type} link=static
|
||||
threading=multi --user-config=user-config.jam 1> ${CUSTOM_BOOST_LOCATION}/boost.installed.log 2> ${CUSTOM_BOOST_LOCATION}/boost.installed.err
|
||||
COMMAND ${CMAKE_COMMAND} -E touch ${CUSTOM_BOOST_LOCATION}/boost.installed
|
||||
WORKING_DIRECTORY ${BOOST_BUILD_DIR}
|
||||
DEPENDS ${CUSTOM_BOOST_LOCATION}/boost.built
|
||||
COMMENT "Installing Boost headers and libs")
|
Reference in New Issue
Block a user