############################################### # CMakeLists.txt file for building GaudiPoolDb # @author Pere Mato, CERN ############################################### require(GaudiKernel GaudiUtils) find_package(ROOT) find_package(POOL) find_package(CORAL) #---Linker/Component Library----------------------------------------------------------------- GAUDI_LINKER_LIBRARY(GaudiPoolDb *.cpp ${CMAKE_CURRENT_BINARY_DIR}/GaudiPoolDb_dict.cpp LIBRARIES GaudiKernel GaudiUtilsLib ${POOL_LIBRARIES} ${CORAL_LIBRARIES} ${ROOT_LIBRARIES} ${ROOT_Cintex_LIBRARY} ${ROOT_Tree_LIBRARY} ${ROOT_RIO_LIBRARY} USE_HEADERS ROOT POOL CORAL) #---Dictionary Generation ------------------------------------------------------------------- REFLEX_GENERATE_DICTIONARY(GaudiPoolDb src/PoolDb_dict.h src/PoolDb_dict.xml) if(APPLE) SET_TARGET_PROPERTIES(GaudiPoolDb PROPERTIES SUFFIX .so) endif() GAUDI_GENERATE_ROOTMAP(GaudiPoolDb) GAUDI_GENERATE_CONFIGURABLES(GaudiPoolDb) set(GAUDIPOOLDB_ENVIRONMENT JOBOPTSEARCHPATH+=${CMAKE_SOURCE_DIR}/GaudiPoolDb/options PARENT_SCOPE) #---Installation----------------------------------------------------------------------------- GAUDI_INSTALL_HEADERS(GaudiPoolDb)