allow config file interpolation

This commit is contained in:
Radovan Bast
2015-10-04 23:08:31 +02:00
parent 5890d462fe
commit a823e300f6
14 changed files with 71 additions and 80 deletions

View File

@ -11,12 +11,9 @@ source: ../../../modules/python_interpreter.cmake
[python_libs]
source: ../../../modules/python_libs.cmake
[custom]
source: custom/boost_version-components.cmake
[boost]
defaults: {'major': 1, 'minor': 56, 'patch': 0, 'components': 'python'}
source: ../../../modules/boost/boost.cmake
fetch: http://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.zip
[default_build_paths]
source: ../../../modules/default_build_paths.cmake

View File

@ -1,2 +0,0 @@
set(BOOST_MINIMUM_REQUIRED 1.56.0)
list(APPEND BOOST_COMPONENTS_REQUIRED python)

View File

@ -1,5 +1,7 @@
add_executable(example example.cpp)
if(BUILD_CUSTOM_BOOST)
add_dependencies(example custom_boost)
endif()
target_link_libraries(example ${Boost_PYTHON_LIBRARY} ${PYTHON_LIBRARIES})