Skip to content

Commit 0c5348b

Browse files
committed
Add CMakeLists.txt
1 parent dfbe377 commit 0c5348b

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Generated by `boostdep --cmake multi_array`
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_multi_array VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
9+
10+
add_library(boost_multi_array INTERFACE)
11+
add_library(Boost::multi_array ALIAS boost_multi_array)
12+
13+
target_include_directories(boost_multi_array INTERFACE include)
14+
15+
target_link_libraries(boost_multi_array
16+
INTERFACE
17+
Boost::array
18+
Boost::assert
19+
Boost::concept_check
20+
Boost::config
21+
Boost::core
22+
Boost::functional
23+
Boost::iterator
24+
Boost::mpl
25+
Boost::static_assert
26+
Boost::type_traits
27+
)
28+
29+
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
30+
31+
add_subdirectory(test)
32+
33+
endif()
34+

0 commit comments

Comments
 (0)