Back to home page

EIC code displayed by LXR

 
 

    


Warning, /acts/Traccc/extern/dfelibs/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) 2021-2025 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 "Building dfelibs as part of the TRACCC project")
0013 
0014 # Declare where to get dfelibs from.
0015 set(TRACCC_DFELIBS_SOURCE
0016     "URL;https://github.com/acts-project/dfelibs/archive/refs/tags/v20211029.tar.gz;URL_MD5;87fb09c5a11b98250f5e266e9cd501ea"
0017     CACHE STRING
0018     "Source for dfelibs, when built as part of this project"
0019 )
0020 mark_as_advanced(TRACCC_DFELIBS_SOURCE)
0021 FetchContent_Declare(dfelibs SYSTEM ${TRACCC_DFELIBS_SOURCE})
0022 
0023 # Options used in the build of dfelibs.
0024 set(dfelibs_BUILD_EXAMPLES
0025     FALSE
0026     CACHE BOOL
0027     "Turn off the build of the dfelibs examples"
0028 )
0029 set(dfelibs_BUILD_UNITTESTS
0030     FALSE
0031     CACHE BOOL
0032     "Turn off the build of the dfelibs unit tests"
0033 )
0034 set(dfelibs_ENABLE_INSTALL
0035     TRUE
0036     CACHE BOOL
0037     "Have dfelibs be installed together with the rest of the project"
0038 )
0039 
0040 # Make dfelibs work without warnings with modern CMake versions.
0041 set(CMAKE_POLICY_VERSION_MINIMUM "3.10")
0042 
0043 # Get it into the current directory.
0044 FetchContent_MakeAvailable(dfelibs)