Skip to content

Commit

Permalink
Update cmake_subdir_test/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Apr 14, 2024
1 parent 7a02e88 commit 1de568d
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions test/cmake_subdir_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,7 @@ cmake_minimum_required(VERSION 3.5...3.20)
project(cmake_subdir_test LANGUAGES CXX)

add_subdirectory(../.. boostorg/crc)

# `boostdep --brief crc`

set(deps

# Primary dependencies

array
config
integer
type_traits

# Secondary dependencies

assert
core
static_assert
throw_exception
)

foreach(dep IN LISTS deps)

add_subdirectory(../../../${dep} boostorg/${dep})

endforeach()
add_subdirectory(../../../config} boostorg/config)

add_executable(quick ../quick.cpp)
target_link_libraries(quick Boost::crc)
Expand Down

0 comments on commit 1de568d

Please sign in to comment.