Warning, /acts/Traccc/extern/covfie/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # TRACCC library, part of the ACTS project (R&D line)
0002 #
0003 # (c) 2023-2024 CERN for the benefit of the ACTS project
0004 #
0005 # Mozilla Public License Version 2.0
0006
0007 # CMake include(s).
0008 cmake_minimum_required(VERSION 3.25)
0009 include(FetchContent)
0010
0011 # Tell the user what's happening.
0012 message(STATUS "Fetching covfie as part of the traccc project")
0013
0014 # Declare where to get covfie from.
0015 set(TRACCC_COVFIE_SOURCE
0016 "URL;https://github.com/acts-project/covfie/archive/refs/tags/v0.15.4.tar.gz;URL_MD5;80de9b43644c59d8239fb8cc184c6276"
0017 CACHE STRING
0018 "Source for covfie, when built as part of this project"
0019 )
0020 mark_as_advanced(TRACCC_COVFIE_SOURCE)
0021 FetchContent_Declare(covfie SYSTEM ${TRACCC_COVFIE_SOURCE})
0022
0023 # Options used for covfie.
0024 set(COVFIE_BUILD_EXAMPLES OFF CACHE BOOL "Build covfie examples")
0025 set(COVFIE_BUILD_TESTS OFF CACHE BOOL "Build covfie tests")
0026 set(COVFIE_BUILD_BENCHMARKS OFF CACHE BOOL "Build covfie benchmarks")
0027
0028 set(COVFIE_PLATFORM_CPU ON CACHE BOOL "Enable covfie CPU platform")
0029 set(COVFIE_PLATFORM_CUDA
0030 ${TRACCC_BUILD_CUDA}
0031 CACHE BOOL
0032 "Enable covfie CUDA platform"
0033 )
0034 set(COVFIE_PLATFORM_SYCL
0035 ${TRACCC_BUILD_SYCL}
0036 CACHE BOOL
0037 "Enable covfie SYCL platform"
0038 )
0039
0040 set(COVFIE_QUIET ON CACHE BOOL "Quiet covfie feature warnings")
0041
0042 # Get it into the current directory.
0043 FetchContent_MakeAvailable(covfie)