CMakeLists.txt 662 B

1234567891011121314151617
  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.Vmd.
  6. # It only tests, if the CMakeLists.txt file in it's root works as expected
  7. cmake_minimum_required( VERSION 3.5 )
  8. project( BoostVmdCMakeSelfTest )
  9. add_subdirectory( ../../../preprocessor ${CMAKE_CURRENT_BINARY_DIR}/libs/preprocessor )
  10. add_subdirectory( ../.. ${CMAKE_CURRENT_BINARY_DIR}/libs/boost_vmd )
  11. add_executable( boost_vmd_cmake_self_test main.cpp )
  12. target_link_libraries( boost_vmd_cmake_self_test Boost::vmd )