Warning, /DD4hep/cmake/thisdd4hep_package.sh.in is written in an unsupported language. File is not indexed.
0001 #################################################################################
0002 #
0003 # Environment script for DD4hep examples - initializes DD4hep (and ROOT)
0004 # for package: @PackageName@
0005 #
0006 # @author F.Gaede, DESY, 2013
0007 # @author M.Frank, CERN, 2015
0008 #
0009 #################################################################################
0010 # Default of DD4hep is the primary installation directory
0011 if [ ! ${DD4hep_DIR} ]; then
0012 export DD4hep_DIR=@DD4hep_ROOT@;
0013 fi;
0014 if [ @CLHEP_DIR@ ]; then
0015 export CLHEP_DIR=@CLHEP_DIR@;
0016 fi;
0017 source ${DD4hep_DIR}/bin/thisdd4hep.sh;
0018 #
0019 SOURCE=${BASH_ARGV[0]}
0020 if [ "x$SOURCE" = "x" ]; then
0021 SOURCE=${(%):-%N} # for zsh
0022 fi
0023
0024 dd4hep_parse_this $SOURCE @PackageName@;
0025 #
0026 #----PATH---------------------------------------------------------------------
0027 dd4hep_add_path PATH ${THIS}/bin;
0028 #----PYTHONPATH---------------------------------------------------------------
0029 dd4hep_add_path PYTHONPATH ${THIS}/@DD4HEP_PYTHON_INSTALL_DIR@;
0030 #----ROOT_INCLUDE_PATH--------------------------------------------------------
0031 dd4hep_add_path ROOT_INCLUDE_PATH ${THIS}/include;
0032 #----LIBRARY_PATH-------------------------------------------------------------
0033 dd4hep_add_library_path ${THIS}/lib;
0034 # -- need to extend dynamic search path for all external libraries:
0035 if [ @External_LIBRARY_DIRS@ ]; then
0036 for lp in @External_LIBRARY_DIRS@; do
0037 dd4hep_add_library_path ${lp};
0038 done;
0039 fi;