Warning, /acts/Detray/tutorials/src/cpu/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 host tutorials")
0010
0011 # Set up the rest of the tutorials
0012 set(source_files
0013 "detector/build_predefined_detectors.cpp"
0014 "detector/detector_ray_scan.cpp"
0015 "detector/detector_to_dot.cpp"
0016 "detector/do_it_yourself_detector.cpp"
0017 "detector/read_detector_from_file.cpp"
0018 "detector/track_geometry_changes.cpp"
0019 "detector/write_detector_to_file.cpp"
0020 "propagation/navigation_inspection.cpp"
0021 "propagation/propagation.cpp"
0022 "propagation/define_an_actor.cpp"
0023 )
0024
0025 foreach(file ${source_files})
0026 # Extract name of the tutorial
0027 get_filename_component(file_name ${file} NAME_WE)
0028
0029 detray_add_tutorial(${file_name}
0030 ${file}
0031 LINK_LIBRARIES detray::core_array covfie::core vecmem::core detray::io
0032 detray::tutorial detray::test_common detray::test_utils detray::validation_utils
0033 )
0034 endforeach()