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