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

Fix compiler warnings (shadow and include-hygiene)

parent c6e4ff07
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,8 @@ dd4hep_package( DDCore
#---Generate ROOT dictionary------------------------------------------------------
dd4hep_add_dictionary( G__DD4hep
SOURCES include/DD4hep/*.h
SOURCES include/ROOT/Warnings.h
include/DD4hep/*.h
include/DD4hep/detail/*.h
include/XML/*.h
${DDSegmentation_INCLUDE_DIRS}/DDSegmentation/BitField64.h
......
......@@ -15,7 +15,7 @@ dd4hep_package( DDEve
#
#---Add Plugin Library-----------------------------------------------------
dd4hep_add_dictionary ( G__DDEve
SOURCES include/DDEve/*.h
SOURCES ${DDCore_INCLUDE_DIRS}/include/ROOT/Warnings.h include/DDEve/*.h
LINKDEF ${DDCore_INCLUDE_DIRS}/include/ROOT/LinkDef.h
)
#
......@@ -25,7 +25,7 @@ dd4hep_add_plugin ( DDEve SOURCES src/*.cpp
if(DD4HEP_USE_GEANT4)
dd4hep_add_dictionary ( G__DDG4IO
SOURCES DDEve/DDG4IO.C
SOURCES ${DDCore_INCLUDE_DIRS}/include/ROOT/Warnings.h DDEve/DDG4IO.C
LINKDEF ${DDCore_INCLUDE_DIRS}/include/ROOT/LinkDef.h
OPTIONAL DDG4
)
......
......@@ -20,7 +20,7 @@ dd4hep_add_package_library(DDG4 SOURCES src/*.cpp )
dd4hep_add_plugin(DDG4Legacy SOURCES legacy/*.cpp)
#-----------------------------------------------------------------------------------
dd4hep_add_dictionary( G__DDG4
SOURCES python/DDG4Dict.C
SOURCES ${DDCore_INCLUDE_DIRS}/include/ROOT/Warnings.h python/DDG4Dict.C
LINKDEF ${DDCore_INCLUDE_DIRS}/include/ROOT/LinkDef.h
)
#--------------------------- Plugin library for the simulation framework ---------
......@@ -30,12 +30,13 @@ dd4hep_add_plugin(DDG4Plugins
)
#--------------------------- Plugin library for the simulation framework ---------
dd4hep_add_dictionary(G__DDG4Python
SOURCES src/python/DDG4Python.C
SOURCES ${DDCore_INCLUDE_DIRS}/include/ROOT/Warnings.h src/python/DDG4Python.C
LINKDEF ${DDCore_INCLUDE_DIRS}/include/ROOT/LinkDef.h
OPTIONAL [PYTHON REQUIRED]
)
#--------------------------- Plugin library for the simulation framework ---------
dd4hep_add_dictionary(G__DDPython SOURCES tpython/DDPython.C
dd4hep_add_dictionary(G__DDPython
SOURCES ${DDCore_INCLUDE_DIRS}/include/ROOT/Warnings.h tpython/DDPython.C
LINKDEF ${DDCore_INCLUDE_DIRS}/include/ROOT/LinkDef.h
OPTIONAL [PYTHON REQUIRED]
)
......
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