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