CMakeLists.txt 620 B

12345678910111213141516
  1. # Copyright 2018 Mike Dev
  2. # Distributed under the Boost Software License, Version 1.0.
  3. # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
  4. #
  5. # NOTE: This does NOT run the unit tests for Boost.Preprocessor (yet).
  6. # It only tests, if the CMakeLists.txt file works as expected
  7. cmake_minimum_required( VERSION 3.5 )
  8. project( BoostPreprocessorCMakeSelfTest )
  9. add_subdirectory( .. ${CMAKE_CURRENT_BINARY_DIR}/boost_preprocessor )
  10. add_executable( boost_preprocessor_cmake_self_test config_info.cpp )
  11. target_link_libraries( boost_preprocessor_cmake_self_test Boost::preprocessor )