]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/assert/test/cmake_subdir_test/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / assert / test / cmake_subdir_test / CMakeLists.txt
CommitLineData
f67539c2
TL
1# Copyright 2018 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
5cmake_minimum_required(VERSION 3.5...3.16)
6
7project(cmake_subdir_test LANGUAGES CXX)
8
1e59de90 9add_subdirectory(../.. boostorg/assert)
f67539c2
TL
10add_subdirectory(../../../config boostorg/config)
11
12add_executable(main main.cpp)
13target_link_libraries(main Boost::assert)
14
15enable_testing()
16add_test(NAME main COMMAND main)
17
18add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)