Minor tweaks to cmake support to make hash-boost conversion easier.

This commit is contained in:
Rene Rivera
2019-01-07 08:18:59 -06:00
parent d33798214d
commit 9ead140e5b
2 changed files with 6 additions and 6 deletions

View File

@ -15,15 +15,15 @@
# declarative targets.
cmake_minimum_required( VERSION 3.0 )
project( BoostPredefCMakeSelfTest )
project( PredefCMakeSelfTest )
# Process cmake file at root of library and use
# ${CMAKE_CURRENT_BINARY_DIR}/libs/boost_predef as workspace
add_subdirectory( ../.. ${CMAKE_CURRENT_BINARY_DIR}/libs/boost_predef )
# ${CMAKE_CURRENT_BINARY_DIR}/libs/predef as workspace
add_subdirectory( ../.. ${CMAKE_CURRENT_BINARY_DIR}/libs/predef )
# The executable just includes a predef header to verify that it's used.
add_executable( boost_predef_cmake_test_prj main.cpp )
add_executable( predef_cmake_test_prj main.cpp )
# The executable needs to "use" the Predef "library" to get the usage
# requirements added to the executable build.
target_link_libraries( boost_predef_cmake_test_prj Boost::predef )
target_link_libraries( predef_cmake_test_prj Boost::predef )

View File

@ -7,7 +7,7 @@ http://www.boost.org/LICENSE_1_0.txt
*/
/*
Dummy executable, just to make sure that we can find the Boost.predef header
Dummy executable, just to make sure that we can find the Boost Predef header
files.
*/