Warning, /acts/Detray/tests/include/detray/test/device/sycl/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_sycl' component")
0010
0011 # Enable SYCL as a language.
0012 enable_language(SYCL)
0013
0014 # Set the default SYCL compiler flags.
0015 include(detray-compiler-options-sycl)
0016
0017 # Helper library for the SYCL tests.
0018 add_library(
0019 detray_test_sycl
0020 INTERFACE
0021 "algebra_test_suite.hpp"
0022 "execute_sycl_test.hpp"
0023 "sycl_test_fixture.hpp"
0024 )
0025
0026 add_library(detray::test_sycl ALIAS detray_test_sycl)
0027
0028 target_link_libraries(
0029 detray_test_sycl
0030 INTERFACE GTest::gtest vecmem::sycl detray::core_array detray::test_device
0031 )