2
0
mirror of https://github.com/boostorg/redis.git synced 2026-01-19 04:42:09 +00:00

Fix the build of boost dependencies.

This commit is contained in:
Marcelo Zimbres
2023-10-28 09:29:51 +02:00
parent 6389daa783
commit 0bcbf6d4e4

View File

@@ -2,70 +2,10 @@ cmake_minimum_required(VERSION 3.5...3.22)
project(cmake_subdir_test LANGUAGES CXX)
# Generated by boostdep --brief redis
set(_DEPENDENCIES
# Primary dependencies
asio
assert
core
mp11
system
throw_exception
# Secondary dependencies
align
array
bind
chrono
config
context
coroutine
date_time
exception
"function"
regex
smart_ptr
type_traits
utility
static_assert
variant2
winapi
integer
move
mpl
predef
ratio
typeof
pool
algorithm
io
lexical_cast
numeric/conversion
range
tokenizer
tuple
preprocessor
concept_check
container_hash
iterator
unordered
describe
container
conversion
detail
optional
rational
intrusive
function_types
fusion
functional
)
set(BOOST_INCLUDE_LIBRARIES redis)
# Build our dependencies, so the targets Boost::xxx are defined
set(_BOOST_ROOT ../../../..)
foreach(_DEPENDENCY IN LISTS _DEPENDENCIES)
add_subdirectory(${_BOOST_ROOT}/libs/${_DEPENDENCY} boostorg/${_DEPENDENCY})
endforeach()
add_subdirectory(${_BOOST_ROOT} boostorg/boost)
# Build our project
add_subdirectory(${_BOOST_ROOT}/libs/redis boostorg/redis)