From e4f4e546790eb2a0d2ec881c28b7d97ad3d44b4e Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Tue, 20 Aug 2019 13:26:00 +0200
Subject: [PATCH] CMake: dd4hep_add_plugin: add some printouts

---
 cmake/DD4hepBuild.cmake | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cmake/DD4hepBuild.cmake b/cmake/DD4hepBuild.cmake
index d1ed9ac2d..9a2f67bde 100644
--- a/cmake/DD4hepBuild.cmake
+++ b/cmake/DD4hepBuild.cmake
@@ -1244,7 +1244,11 @@ function(dd4hep_add_plugin binary)
     set(NOINSTALL NOINSTALL)
   endif()
   file(GLOB SOURCES ${ARG_SOURCES})
-
+  dd4hep_print("|++> Building Plugin: ${binary}")
+  dd4hep_debug("|++++> SOURCES ${SOURCES}")
+  dd4hep_debug("|++++> USES ${ARG_USES}")
+  dd4hep_debug("|++++> INCLUDES ${ARG_INCLUDES}")
+  dd4hep_debug("|++++> DEFINITIONS ${ARG_DEFINITIONS}")
   add_library(${binary} SHARED ${SOURCES} ${ARG_GENERATED})
   target_link_libraries(${binary} PUBLIC ${ARG_USES})
   target_include_directories(${binary} PUBLIC ${ARG_INCLUDES})
-- 
GitLab