]>
Commit | Line | Data |
---|---|---|
92f5a8d4 TL |
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 | ||
f67539c2 | 5 | cmake_minimum_required(VERSION 3.5...3.16) |
92f5a8d4 TL |
6 | |
7 | project(cmake_subdir_test LANGUAGES CXX) | |
8 | ||
9 | add_subdirectory(../.. boostorg/smart_ptr) | |
10 | add_subdirectory(../../../assert boostorg/assert) | |
11 | add_subdirectory(../../../config boostorg/config) | |
12 | add_subdirectory(../../../core boostorg/core) | |
13 | add_subdirectory(../../../move boostorg/move) | |
92f5a8d4 TL |
14 | add_subdirectory(../../../static_assert boostorg/static_assert) |
15 | add_subdirectory(../../../throw_exception boostorg/throw_exception) | |
16 | add_subdirectory(../../../type_traits boostorg/type_traits) | |
17 | ||
18 | add_executable(quick ../quick.cpp) | |
19 | target_link_libraries(quick Boost::smart_ptr Boost::core) | |
20 | ||
21 | enable_testing() | |
22 | add_test(quick quick) | |
23 | ||
24 | add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>) |