1 # Copyright 2018-2021 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
5 cmake_minimum_required(VERSION 3.5...3.20)
7 project(cmake_subdir_test LANGUAGES CXX)
9 add_subdirectory(../.. boostorg/timer)
13 # Primary dependencies
22 # Secondary dependencies
39 foreach(dep IN LISTS deps)
41 add_subdirectory(../../../${dep} boostorg/${dep})
45 add_executable(main main.cpp)
46 target_link_libraries(main Boost::timer Boost::core)