1# Copyright 2018 John Maddock 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# CAUTION!!!! 6# 7# This addition to Boost.Config should be considered experimental and is part 8# of an ongoing effort to add CMake support Boost-wide. 9# 10# IT IS HIGHLY LIKELY THAT THIS FILE WILL CHANGE WITHOUT NOTICE!!! 11# 12# DO NOT REPLY ON THE CONTENTS OF THIS FILE!!! 13# 14# In particular this is not a comprehensive test suite, just a quick check 15# that the root CMakeLists.txt works OK, and a convenience for folks who 16# want to import these projects into their IDE. 17# 18cmake_minimum_required(VERSION 3.5) 19 20add_subdirectory(.. ${CMAKE_CURRENT_BINARY_DIR}/boost_config) 21 22add_executable(config_info config_info.cpp) 23target_link_libraries(config_info Boost::config) 24 25add_executable(config_test config_test.cpp) 26target_link_libraries(config_test Boost::config) 27 28