Back to home page

EIC code displayed by LXR

 
 

    


Warning, /acts/thirdparty/covfie/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 # CMake include(s).
0010 include(FetchContent)
0011 
0012 # Tell the user what's happening.
0013 message(STATUS "Building Covfie as part of the Acts project")
0014 
0015 set(COVFIE_VERSION "v${_acts_covfie_version}")
0016 
0017 # Declare where to get covfie from.
0018 FetchContent_Declare(covfie ${ACTS_COVFIE_SOURCE})
0019 
0020 # Options used for covfie.
0021 set(COVFIE_BUILD_EXAMPLES OFF CACHE BOOL "Build covfie examples")
0022 set(COVFIE_BUILD_TESTS OFF CACHE BOOL "Build covfie tests")
0023 set(COVFIE_BUILD_BENCHMARKS OFF CACHE BOOL "Build covfie benchmarks")
0024 
0025 set(COVFIE_PLATFORM_CPU ON CACHE BOOL "Enable covfie CPU platform")
0026 set(COVFIE_PLATFORM_CUDA
0027     ${ACTS_BUILD_PLUGIN_CUDA}
0028     CACHE BOOL
0029     "Enable covfie CUDA platform"
0030 )
0031 
0032 set(COVFIE_REQUIRE_CXX20 OFF CACHE BOOL "Enable covfie C++20 requirement")
0033 set(COVFIE_QUIET ON CACHE BOOL "Quiet covfie feature warnings")
0034 
0035 # Now set up its build.
0036 FetchContent_MakeAvailable(covfie)