Warning, /acts/Detray/plugins/algebra/eigen/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # This file is part of the ACTS project.
0002 #
0003 # Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 #
0005 # This Source Code Form is subject to the terms of the Mozilla Public
0006 # License, v. 2.0. If a copy of the MPL was not distributed with this
0007 # file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008
0009 message(STATUS "Building the Eigen3 algebra plugin")
0010
0011 # Set up the library.
0012 detray_add_library( detray_algebra_eigen algebra_eigen
0013 "include/algebra/eigen.hpp"
0014 "include/algebra/impl/*.hpp"
0015 "include/algebra/impl/detail/*.hpp"
0016 "include/algebra/utils/*.hpp"
0017 )
0018
0019 target_link_libraries(detray_algebra_eigen INTERFACE Eigen3::Eigen detray::core)
0020
0021 target_compile_definitions(
0022 detray_algebra_eigen
0023 INTERFACE
0024 DETRAY_CUSTOM_SCALARTYPE=${DETRAY_CUSTOM_SCALARTYPE}
0025 DETRAY_ALGEBRA_EIGEN
0026 )
0027
0028 detray_test_public_headers( detray_algebra_eigen
0029 "algebra/eigen.hpp"
0030 )