From 9ead140e5b8d3b2123fe32866dec1e116d4f0af3 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 7 Jan 2019 08:18:59 -0600 Subject: [PATCH] Minor tweaks to cmake support to make hash-boost conversion easier. --- test/test_cmake/CMakeLists.txt | 10 +++++----- test/test_cmake/main.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/test_cmake/CMakeLists.txt b/test/test_cmake/CMakeLists.txt index 5908c4e..9bdbd62 100644 --- a/test/test_cmake/CMakeLists.txt +++ b/test/test_cmake/CMakeLists.txt @@ -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 ) diff --git a/test/test_cmake/main.cpp b/test/test_cmake/main.cpp index 5dd875f..c8005bc 100644 --- a/test/test_cmake/main.cpp +++ b/test/test_cmake/main.cpp @@ -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. */