From 5b39fac75482d57dc36126bdf26ca0222c2156e5 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 28 Oct 2021 22:53:52 +0300 Subject: [PATCH] Add CMakeLists.txt --- CMakeLists.txt | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..8e2358e4f --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated by `boostdep --cmake numeric/ublas` +# Copyright 2020, 2021 Peter Dimov +# Distributed under the Boost Software License, Version 1.0. +# https://www.boost.org/LICENSE_1_0.txt + +cmake_minimum_required(VERSION 3.8...3.20) + +project(boost_numeric_ublas VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) + +add_library(boost_numeric_ublas INTERFACE) +add_library(Boost::numeric_ublas ALIAS boost_numeric_ublas) + +target_include_directories(boost_numeric_ublas INTERFACE include) + +target_link_libraries(boost_numeric_ublas + INTERFACE + Boost::compute + Boost::concept_check + Boost::config + Boost::core + Boost::iterator + Boost::mpl + Boost::numeric_interval + Boost::range + Boost::serialization + Boost::smart_ptr + Boost::static_assert + Boost::type_traits + Boost::typeof +) + +target_compile_features(boost_numeric_ublas INTERFACE cxx_std_11) + +if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt") + + add_subdirectory(test) + +endif()