Warning, /DD4hep/examples/DDCodex/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 #==========================================================================
0002 # AIDA Detector description implementation
0003 #--------------------------------------------------------------------------
0004 # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0005 # All rights reserved.
0006 #
0007 # For the licensing terms see $DD4hepINSTALL/LICENSE.
0008 # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0009 #
0010 #==========================================================================
0011 cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
0012
0013 IF(NOT TARGET DD4hep::DDCore)
0014 find_package ( DD4hep REQUIRED )
0015 include ( ${DD4hep_DIR}/cmake/DD4hep.cmake )
0016 include ( ${DD4hep_DIR}/cmake/DD4hepBuild.cmake )
0017 dd4hep_configure_output()
0018 ENDIF()
0019
0020 dd4hep_set_compiler_flags()
0021 #==========================================================================
0022 #---DDCodex plugin library -------------------------------------------------------
0023 dd4hep_add_plugin(DDCodexPlugins
0024 SOURCES src/*.cpp
0025 USES DD4hep::DDCore ROOT::Core ROOT::Geom ROOT::GenVector
0026 )
0027 install(TARGETS DDCodexPlugins DESTINATION lib)
0028 #
0029 #
0030 install(DIRECTORY compact python eve DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/DDCodex )
0031 install(FILES Upgrade.root DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/DDCodex )
0032 #--------------------------------------------------------------------------
0033 #
0034 dd4hep_configure_scripts ( DDCodex DEFAULT_SETUP WITH_TESTS )