Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/DDAlign/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 DDAlign)
0012 
0013 file(GLOB DDAlign_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
0014 
0015 add_library(DDAlign ${DDAlign_SOURCES})
0016 add_library(DD4hep::DDAlign ALIAS DDAlign)
0017 
0018 target_include_directories(DDAlign
0019   PUBLIC
0020   $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
0021   $<INSTALL_INTERFACE:include>
0022   )
0023 
0024 target_link_libraries(DDAlign PUBLIC DDCore)
0025 
0026 dd4hep_add_plugin(DDAlignPlugins SOURCES src/plugins/*.cpp USES DDAlign)
0027 
0028 set_target_properties(DDAlign DDAlignPlugins PROPERTIES VERSION ${DD4hep_VERSION} SOVERSION ${DD4hep_SOVERSION})
0029 
0030 install(DIRECTORY include/DDAlign DESTINATION include)
0031 install(TARGETS DDAlign DDAlignPlugins EXPORT DD4hep
0032   LIBRARY DESTINATION lib
0033   ARCHIVE DESTINATION lib)