package GaudiPython version v11r0 branches GaudiPython cmt doc src use GaudiKernel * use GaudiAlg * use GaudiUtils * use AIDA * LCG_Interfaces use CLHEP * LCG_Interfaces -no_auto_imports use Python * LCG_Interfaces -no_auto_imports use Reflex * LCG_Interfaces -no_auto_imports apply_pattern install_more_includes more=GaudiPython apply_pattern install_python_modules apply_pattern install_scripts #-------Applications and Libraries----------------------------------------------- library GaudiPythonLib Lib/*.cpp -import=Python -import=CLHEP -no_static library GaudiPython Services/*.cpp -import=Python -import=CLHEP -no_static apply_pattern linker_library library=GaudiPythonLib #-------LCG Dictionaries--------------------------------------------------------- apply_pattern reflex_dictionary dictionary=GaudiPython \ headerfiles=$(GAUDIPYTHONROOT)/dict/kernel.h \ selectionfile=../dict/selection_kernel.xml \ options="--no_templatetypedefs -I$(Python_inc)" \ imports="Python -import=CLHEP" #-------------------------------------------------------------------------------- private apply_pattern component_library library=GaudiPython #-------------------------------------------------------------------------------- use GaudiSvc * -no_auto_imports #include_dirs "$(GAUDIPYTHONROOT)" #apply_pattern package_Cshlibflags ###--- Test library library GPyTest -group=tests Test/*.cpp -import=Python -import=CLHEP -no_static apply_pattern library_Cshlibflags library="GPyTest" ###--- Test dictionary macro testdict_options "--no_templatetypedefs -I$(Python_inc) -I$(GAUDIPYTHONROOT)/src/Test" apply_pattern reflex_test_dictionary dictionary=GPyTest \ headerfiles=$(GAUDIPYTHONROOT)/src/Test/test.h \ selectionfile=../src/Test/test_selection.xml \ options=$(testdict_options) \ imports="Python -import=CLHEP" # The reflex_test_dictionary pattern defined in LCGCMT's Reflex Interface # assumes the use of a different library CMT fragment that supports the # -libdirname option. To work around this we have to override the definition # of the GPyTest_rootmap macro defined by the pattern. # The rootmap name we have to use depends on the version of ROOT: ROOT 5.14 (LCG <= 53*) and ROOT 5.15 (LCG >= 54) macro rootmap_name "rootmap" ROOT_GE_5_15 "reflex.rootmap" macro test_GPyTest_rootmap $(GAUDIPYTHONROOT)/$(tag)/$(rootmap_name) \ GAUDI_with_installarea $(CMTINSTALLAREA)/$(tag)/lib/$(rootmap_name) \ GAUDIATLAS_with_installarea $(CMTINSTALLAREA)/$(tag)/lib/$(rootmap_name) end_private