]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/core/test/cmake_subdir_test/CMakeLists.txt
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / core / test / cmake_subdir_test / CMakeLists.txt
1 # Copyright 2018, 2019 Peter Dimov
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 cmake_minimum_required(VERSION 3.5)
6
7 project(cmake_subdir_test LANGUAGES CXX)
8
9 add_subdirectory(../.. boostorg/core)
10 add_subdirectory(../../../assert boostorg/assert)
11 add_subdirectory(../../../config boostorg/config)
12
13 add_executable(quick ../quick.cpp)
14 target_link_libraries(quick Boost::core)
15
16 enable_testing()
17 add_test(quick quick)
18
19 add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)