# Copyright 2018 Peter Dimov # 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 cmake_minimum_required(VERSION 3.5) project(BoostMinCMake LANGUAGES CXX) if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) include(cmake/boost_fetch.cmake) include(cmake/boost_test.cmake) boost_fetch(boostorg/config TAG develop) boost_fetch(boostorg/assert TAG develop) boost_fetch(boostorg/core TAG develop) enable_testing() add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $) add_subdirectory(test) endif()