Skip to content

Commit c9077bd

Browse files
committed
Add CMakeLists.txt
1 parent bcd55d9 commit c9077bd

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

CMakeLists.txt

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Generated by `boostdep --cmake algorithm`
2+
# Copyright 2020 Peter Dimov
3+
# Distributed under the Boost Software License, Version 1.0.
4+
# https://www.boost.org/LICENSE_1_0.txt
5+
6+
cmake_minimum_required(VERSION 3.5...3.16)
7+
8+
project(boost_algorithm VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
9+
10+
add_library(boost_algorithm INTERFACE)
11+
add_library(Boost::algorithm ALIAS boost_algorithm)
12+
13+
target_include_directories(boost_algorithm INTERFACE include)
14+
15+
target_link_libraries(boost_algorithm
16+
INTERFACE
17+
Boost::array
18+
Boost::assert
19+
Boost::bind
20+
Boost::concept_check
21+
Boost::config
22+
Boost::core
23+
Boost::exception
24+
Boost::function
25+
Boost::iterator
26+
Boost::mpl
27+
Boost::range
28+
Boost::regex
29+
Boost::static_assert
30+
Boost::throw_exception
31+
Boost::tuple
32+
Boost::type_traits
33+
Boost::unordered
34+
)
35+
36+
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
37+
38+
add_subdirectory(test)
39+
40+
endif()
41+

0 commit comments

Comments
 (0)