Warning, /DD4hep/DDDetectors/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 #==========================================================================
0002 #
0003 # AIDA Detector description implementation
0004 #--------------------------------------------------------------------------
0005 # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0006 # All rights reserved.
0007 #
0008 # For the licensing terms see $DD4hepINSTALL/LICENSE.
0009 # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0010 #
0011 #==========================================================================
0012 #--------------------------------------------------------------------------
0013 # DDDetectors
0014 #
0015 # Author: M.Frank
0016 # Date: 13/11/2014
0017 #
0018 #--------------------------------------------------------------------------
0019 SET_PROPERTY(DIRECTORY . PROPERTY PACKAGE_NAME DDDetectors)
0020
0021 dd4hep_add_plugin(DDDetectors
0022 SOURCES src/*.cpp
0023 USES DD4hep::DDRec
0024 INCLUDES $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0025 )
0026
0027 set_target_properties(DDDetectors PROPERTIES VERSION ${DD4hep_VERSION} SOVERSION ${DD4hep_SOVERSION})
0028 install(TARGETS DDDetectors EXPORT DD4hep
0029 LIBRARY DESTINATION lib
0030 ARCHIVE DESTINATION lib
0031 )
0032 install(DIRECTORY compact DESTINATION DDDetectors)