Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/DDCond/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 SET_PROPERTY(DIRECTORY . PROPERTY PACKAGE_NAME DDCond)
0012 
0013 dd4hep_add_dictionary(G__DDCond
0014   SOURCES ../DDCore/include/ROOT/Warnings.h src/ConditionsDictionary.h
0015   LINKDEF ../DDCore/include/ROOT/LinkDef.h
0016   USES    DD4hep::DDCore DD4hep::DDParsers
0017   )
0018 
0019 file(GLOB DDCond_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
0020 
0021 add_library(DDCond ${DDCond_SOURCES} G__DDCond.cxx)
0022 add_library(DD4hep::DDCond ALIAS DDCond)
0023 
0024 target_include_directories(DDCond
0025   PUBLIC
0026   $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
0027   $<INSTALL_INTERFACE:include>
0028   )
0029 
0030 target_link_libraries(DDCond PUBLIC DD4hep::DDCore)
0031 
0032 dd4hep_add_plugin(DDCondPlugins
0033   SOURCES src/plugins/*.cpp src/Type1/*.cpp
0034   USES    DD4hep::DDCond
0035   )
0036 
0037 set_target_properties(DDCond DDCondPlugins PROPERTIES VERSION ${DD4hep_VERSION} SOVERSION ${DD4hep_SOVERSION})
0038 
0039 install(DIRECTORY include/DDCond DESTINATION include)
0040 install(TARGETS DDCond DDCondPlugins EXPORT DD4hep
0041   LIBRARY DESTINATION lib
0042   ARCHIVE DESTINATION lib)