Back to home page

EIC code displayed by LXR

 
 

    


Warning, /acts/thirdparty/traccc/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 traccc as part of the Acts project")
0016 
0017 set(TRACCC_VERSION "${_acts_traccc_version}")
0018 
0019 # Declare where to get traccc from.
0020 FetchContent_Declare(traccc SYSTEM ${ACTS_TRACCC_SOURCE})
0021 
0022 set(ACTS_TRACCC_SCALARTYPE "double")
0023 
0024 set(TRACCC_CUSTOM_SCALARTYPE
0025     "${ACTS_TRACCC_SCALARTYPE}"
0026     CACHE STRING
0027     "Scalar type to use in the traccc code"
0028 )
0029 
0030 set(TRACCC_SETUP_VECMEM OFF CACHE BOOL "Do not set up Actsvg as part of Traccc")
0031 set(TRACCC_SETUP_EIGEN3 OFF CACHE BOOL "Do not set up Eigen3 as part of Traccc")
0032 set(TRACCC_SETUP_THRUST ON CACHE BOOL "Do not set up Thrust as part of Traccc")
0033 set(TRACCC_SETUP_ALGEBRA_PLUGINS
0034     OFF
0035     CACHE BOOL
0036     "Do not set up Algebra Plugins as part of Traccc"
0037 )
0038 set(TRACCC_SETUP_COVFIE OFF CACHE BOOL "Do not set up Covfie as part of Traccc")
0039 set(TRACCC_SETUP_DFELIBS
0040     ON
0041     CACHE BOOL
0042     "Do not set up dfelibs as part of Traccc"
0043 )
0044 set(TRACCC_SETUP_DETRAY OFF CACHE BOOL "Set up Detray as part of Traccc")
0045 set(TRACCC_SETUP_ACTS OFF CACHE BOOL "Do not set up ACTS as part of Traccc")
0046 set(TRACCC_SETUP_TBB OFF CACHE BOOL "Do not set up TBB as part of Traccc")
0047 set(TRACCC_SETUP_BENCHMARKS
0048     OFF
0049     CACHE BOOL
0050     "Do not set up google benchmarks as part of Traccc"
0051 )
0052 
0053 set(TRACCC_BUILD_TESTING
0054     OFF
0055     CACHE BOOL
0056     "Turn off the build of the Traccc unit tests"
0057 )
0058 set(TRACCC_BUILD_EXAMPLES
0059     OFF
0060     CACHE BOOL
0061     "Turn off the build of the Traccc examples"
0062 )
0063 set(TRACCC_BUILD_BENCHMARKS
0064     OFF
0065     CACHE BOOL
0066     "Turn off the build of the Traccc benchmarks"
0067 )
0068 
0069 # Now set up its build.
0070 FetchContent_MakeAvailable(traccc)