Skip to content
Snippets Groups Projects
Commit 8cc87cf0 authored by Andre Sailer's avatar Andre Sailer Committed by Marko Petric
Browse files

MakeGaudiMap: only print info about command when VERBOSE=1

parent 9470042e
No related branches found
No related tags found
No related merge requests found
message(STATUS " *** Gaudi listcomponents: Generate map for ${libname} ..." )
#
# Running listcomponents from DD4hep
#
MESSAGE( STATUS " *** MakeGaudiMap.cmake run command : ${DD4HEP_LISTCOMPONENTS_CMD} -o ${rootmapfile} ${libname}
WORKING_DIRECTORY ${LIBRARY_LOCATION} "
)
IF($ENV{VERBOSE})
MESSAGE(" *** Gaudi listcomponents: Generate map for ${libname} ..." )
MESSAGE(" *** MakeGaudiMap.cmake run command : ${DD4HEP_LISTCOMPONENTS_CMD} -o ${rootmapfile} ${libname}
WORKING_DIRECTORY ${LIBRARY_LOCATION} "
)
ENDIF()
GET_FILENAME_COMPONENT(GAUDI_LISTCOMP_INSTALL ${DD4HEP_LISTCOMPONENTS_CMD} DIRECTORY)
if(APPLE)
SET ( ENV{DYLD_LIBRARY_PATH} ${LIBRARY_LOCATION}:${DD4HEP_LIBRARY_LOCATION}:$ENV{DYLD_LIBRARY_PATH}:$ENV{DD4HEP_LIBRARY_PATH} )
##EXECUTE_PROCESS( COMMAND echo DYLD_LIBRARY_PATH = $ENV{DYLD_LIBRARY_PATH} )
else()
SET ( ENV{LD_LIBRARY_PATH} ${LIBRARY_LOCATION}:${DD4HEP_LIBRARY_LOCATION}:$ENV{LD_LIBRARY_PATH} )
endif()
......
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