Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 2 additions & 23 deletions test/cmake_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,8 @@ if(BOOST_CI_INSTALL_TEST)
find_package(Boost CONFIG REQUIRED COMPONENTS capy)
else()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
add_subdirectory(../.. boostorg/capy)

set(deps
# Primary dependencies

assert
config
core
system
throw_exception

# Secondary dependencies

compat
variant2
winapi
mp11
predef
)

foreach(dep IN LISTS deps)
add_subdirectory(../../../${dep} boostorg/${dep} EXCLUDE_FROM_ALL)
endforeach()
set(BOOST_INCLUDE_LIBRARIES capy)
add_subdirectory(../../../.. boostorg/boost)
endif()

add_executable(main main.cpp)
Expand Down
Loading