Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
20ea4641
Commit
20ea4641
authored
5 years ago
by
Markus Frank
Committed by
MarkusFrankATcernch
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Move to GaudiPluginService V2; Revisit and check examples
parent
90b468a5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GaudiPluginService/CMakeLists.txt
+3
-3
3 additions, 3 deletions
GaudiPluginService/CMakeLists.txt
with
3 additions
and
3 deletions
GaudiPluginService/CMakeLists.txt
+
3
−
3
View file @
20ea4641
...
@@ -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
}
${
B
OOST
_INCLUDE_DIR
}
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
${
B
oost
_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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment