1# Copyright 2018 Mike Dev 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# NOTE: This does NOT run the unit tests for Boost.Array. 6# It only tests, if the CMakeLists.txt file in it's root works as expected 7 8cmake_minimum_required( VERSION 3.5 ) 9 10project( BoostBindCMakeSelfTest ) 11 12add_subdirectory( ../../../assert ${CMAKE_CURRENT_BINARY_DIR}/libs/assert ) 13add_subdirectory( ../../../config ${CMAKE_CURRENT_BINARY_DIR}/libs/config ) 14add_subdirectory( ../../../core ${CMAKE_CURRENT_BINARY_DIR}/libs/core ) 15add_subdirectory( ../../../static_assert ${CMAKE_CURRENT_BINARY_DIR}/libs/static_assert ) 16add_subdirectory( ../../../throw_exception ${CMAKE_CURRENT_BINARY_DIR}/libs/thorw_exception ) 17 18add_subdirectory( ../.. ${CMAKE_CURRENT_BINARY_DIR}/libs/boost_array ) 19 20add_executable( boost_array_cmake_self_test main.cpp ) 21target_link_libraries( boost_array_cmake_self_test Boost::array ) 22 23