[CMake/CI] Some cleanup

This commit is contained in:
Mike Dev
2018-10-17 11:41:42 +02:00
parent a4e304ca87
commit 31653b34c9
2 changed files with 6 additions and 13 deletions

View File

@ -2,17 +2,15 @@
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
#
# NOTE: This does not run the UNIT-TESTS for Boost.PReprocessor.
# NOTE: This does NOT run the unit tests for Boost.Preprocessor (yet).
# It only tests, if the CMakeLists.txt file works as expected
cmake_minimum_required( VERSION 3.5 )
project( TestBoostPreprocessorCMakeSelfTest )
project( BoostPreprocessorCMakeSelfTest )
add_subdirectory( .. ${CMAKE_CURRENT_BINARY_DIR}/boost_preprocessor )
# arithmetic.cpp is a randomly chosen source file
# that is compilable on it's own.
add_executable( boost_preprocessor_self_test cmake_self_test.cpp )
target_link_libraries( boost_preprocessor_self_test Boost::preprocessor )
add_executable( boost_preprocessor_cmake_self_test cmake_self_test.cpp )
target_link_libraries( boost_preprocessor_cmake_self_test Boost::preprocessor )