Skip to content
Snippets Groups Projects
Commit 20ea4641 authored by Markus Frank's avatar Markus Frank Committed by MarkusFrankATcernch
Browse files

Move to GaudiPluginService V2; Revisit and check examples

parent 90b468a5
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.3 FATAL_ERROR) ...@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
project(GaudiPluginService) project(GaudiPluginService)
find_package(Boost COMPONENTS filesystem REQUIRED) find_package(Boost COMPONENTS filesystem REQUIRED)
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${BOOST_INCLUDE_DIR}) include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${Boost_INCLUDE_DIR})
add_library(DD4hepGaudiPluginMgr SHARED src/PluginServiceV1.cpp src/PluginServiceV2.cpp interface/DD4hep.cpp) add_library(DD4hepGaudiPluginMgr SHARED src/PluginServiceV1.cpp src/PluginServiceV2.cpp interface/DD4hep.cpp)
add_definitions(-DGaudi=DD4hep_Flavor -DUSE_BOOST_FILESYSTEM) add_definitions(-DGaudi=DD4hep_Flavor -DUSE_BOOST_FILESYSTEM)
...@@ -10,7 +10,7 @@ if( APPLE ) ...@@ -10,7 +10,7 @@ if( APPLE )
add_definitions( -DAPPLE) add_definitions( -DAPPLE)
endif() endif()
#target_compile_options(DD4hepGaudiPluginMgr PRIVATE -Wno-unused-function) #target_compile_options(DD4hepGaudiPluginMgr PRIVATE -Wno-unused-function)
#target_compile_options(DD4hepGaudiPluginMgr PRIVATE -Wno-deprecated) target_compile_options(DD4hepGaudiPluginMgr PRIVATE -Wno-deprecated)
#target_compile_options(DD4hepGaudiPluginMgr PRIVATE -Wno-shadow) #target_compile_options(DD4hepGaudiPluginMgr PRIVATE -Wno-shadow)
target_link_libraries(DD4hepGaudiPluginMgr ${CMAKE_DL_LIBS} ${Boost_FILESYSTEM_LIBRARY} ) target_link_libraries(DD4hepGaudiPluginMgr ${CMAKE_DL_LIBS} ${Boost_FILESYSTEM_LIBRARY} )
...@@ -23,7 +23,7 @@ endif() ...@@ -23,7 +23,7 @@ endif()
add_executable(listcomponents src/listcomponents.cpp ) add_executable(listcomponents src/listcomponents.cpp )
target_link_libraries(listcomponents DD4hepGaudiPluginMgr ${CMAKE_DL_LIBS} ${Boost_FILESYSTEM_LIBRARY}) target_link_libraries(listcomponents DD4hepGaudiPluginMgr ${CMAKE_DL_LIBS} ${Boost_FILESYSTEM_LIBRARY})
#target_compile_options(listcomponents PRIVATE -Wno-deprecated) target_compile_options(listcomponents PRIVATE -Wno-deprecated)
install(TARGETS listcomponents DD4hepGaudiPluginMgr install(TARGETS listcomponents DD4hepGaudiPluginMgr
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment