diff --git a/DDDB/CMakeLists.txt b/DDDB/CMakeLists.txt index f8412820734591a5b31b3493e1127fde42239559..9a50fe69835bd47b8413ae01ac3bd7b4972c02f8 100644 --- a/DDDB/CMakeLists.txt +++ b/DDDB/CMakeLists.txt @@ -9,8 +9,17 @@ # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. # #========================================================================== +# +# DDDB is a detector description convention developed by the LHCb experiment. +# For further information concerning the DTD, please see: +# http://lhcb-comp.web.cern.ch/lhcb-comp/Frameworks/DetDesc/Documents/lhcbDtd.pdf +# The usage of Xerces-C is mandatory due to the entity resolution mechanism +# +#================================================================================= + dd4hep_package( DDDB USES DDCore DDCond + [XERCESC REQUIRED] [BOOST REQUIRED COMPONENTS filesystem] INCLUDE_DIRS include INSTALL_INCLUDES include/DDDB) diff --git a/examples/DDDB/CMakeLists.txt b/examples/DDDB/CMakeLists.txt index 2ec2ec6f48227db1873c4e22777ca0752673730d..32e8e652959931f21d4c974eaa6bb7e946b3cd06 100644 --- a/examples/DDDB/CMakeLists.txt +++ b/examples/DDDB/CMakeLists.txt @@ -8,6 +8,15 @@ # For the licensing terms see $DD4hepINSTALL/LICENSE. # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. # +#========================================================================== +# +# DDDB is a detector description convention developed by the LHCb experiment. +# For further information concerning the DTD, please see: +# http://lhcb-comp.web.cern.ch/lhcb-comp/Frameworks/DetDesc/Documents/lhcbDtd.pdf +# +# The usage of Xerces-C is mandatory due to the entity resolution mechanism +# + #========================================================================== cmake_minimum_required(VERSION 2.8.3 FATAL_ERROR) include ( ${DD4hep_DIR}/cmake/DD4hep.cmake ) @@ -15,8 +24,9 @@ include ( ${DD4hep_DIR}/cmake/DD4hep.cmake ) #----------------------------------------------------------------------------------- dd4hep_configure_output () dd4hep_package (DDDB MAJOR 0 MINOR 0 PATCH 1 - USES [ROOT REQUIRED COMPONENTS Geom] - [DD4hep REQUIRED COMPONENTS DDCore DDDB] + USES [XERCESC REQUIRED] + [ROOT REQUIRED COMPONENTS Geom] + [DD4hep REQUIRED COMPONENTS DDCore DDDB] ) #---Package installation procedure(s) ----------------------------------------- install ( PROGRAMS scripts/run_dddb.sh DESTINATION bin) diff --git a/examples/DDDB/scripts/extract_dddb.sh b/examples/DDDB/scripts/extract_dddb.sh index b22bfca4321bf388906a6e538b897bdad59066c5..01f9f72f749edb138dd415fb3ab6d4aa1999e028 100755 --- a/examples/DDDB/scripts/extract_dddb.sh +++ b/examples/DDDB/scripts/extract_dddb.sh @@ -23,7 +23,7 @@ if test -n "$USER"; then else target=/tmp; fi; -source=${DD4hepINSTALL}/examples/DDDB/data/DDDB.tar.gz; +source=${DD4hepINSTALL}/examples/DDDB/DDDB.tar.gz; clean="NO"; # # Check for arguments: