Warning, /acts/Detray/tests/include/detray/test/device/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 'detray::test_device' component")
0010
0011 # Set up a device test library
0012 add_library(
0013 detray_test_device
0014 INTERFACE
0015 "device_fixture.hpp"
0016 "execute_host_test.hpp"
0017 "matrix_fixture.hpp"
0018 "propagator_test.hpp"
0019 "transform_fixture.hpp"
0020 "vector_fixture.hpp"
0021 )
0022 add_library(detray::test_device ALIAS detray_test_device)
0023
0024 target_link_libraries(
0025 detray_test_device
0026 INTERFACE
0027 detray::core_array
0028 detray::test_framework
0029 detray::test_utils
0030 detray::validation_utils
0031 )
0032
0033 if(DETRAY_BUILD_CUDA)
0034 add_subdirectory(cuda)
0035 endif()
0036
0037 if(DETRAY_BUILD_SYCL)
0038 add_subdirectory(sycl)
0039 endif()