cmake_minimum_required( VERSION 2.8.12 ) set( CMAKE_MACOSX_RPATH ON ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra" ) set( CMAKE_C_COMPILER /usr/bin/gcc ) set( CMAKE_CXX_COMPILER /usr/bin/g++ ) set( ENV{PATH} /home/hadar/Cloud/cernbox/HEP/projects/test/RootCoreBin/bin/generic:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games ) set( ENV{LD_LIBRARY_PATH} /home/hadar/Cloud/cernbox/HEP/projects/test/RootCoreBin/lib/generic:/usr/local/root/lib ) project( RootCore ) # Overall options for package MyAnalysis link_directories( /home/hadar/Cloud/cernbox/HEP/projects/test/RootCoreBin/lib/generic /usr/local/lib/root ) # Library built from package MyAnalysis add_library( MyAnalysis STATIC /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/Root/MyxAODAnalysis.cxx /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/Root/LinkDef.h /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/MyAnalysis/MyxAODAnalysis.h /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/cmt/Makefile.RootCore ) target_include_directories( MyAnalysis PUBLIC /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis /home/hadar/Cloud/cernbox/HEP/projects/test/RootCoreBin/include /usr/local/include/root ) target_compile_definitions( MyAnalysis PUBLIC ROOTCORE ROOTCORE_RELEASE_SERIES=21 ROOTCORE_TEST_FILE=\"/afs/cern.ch/atlas/project/PAT/xAODs/r5591/mc14_8TeV.117050.PowhegPythia_P2011C_ttbar.recon.AOD.e1727_s1933_s1911_r5591/AOD.01494882._111853.pool.root.1\" ROOTCORE_TEST_DATA=\"/afs/cern.ch/atlas/project/PAT/xAODs/r5591\" XAOD_STANDALONE XAOD_ANALYSIS ) target_compile_options( MyAnalysis PUBLIC -I/home/hadar/Cloud/cernbox/HEP/projects/test/RootCoreBin/include -g -DROOTCORE -DROOTCORE_RELEASE_SERIES=21 -DROOTCORE_TEST_FILE=\"/afs/cern.ch/atlas/project/PAT/xAODs/r5591/mc14_8TeV.117050.PowhegPythia_P2011C_ttbar.recon.AOD.e1727_s1933_s1911_r5591/AOD.01494882._111853.pool.root.1\" -DROOTCORE_TEST_DATA=\"/afs/cern.ch/atlas/project/PAT/xAODs/r5591\" -DXAOD_STANDALONE -DXAOD_ANALYSIS -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/usr/local/include/root ) target_link_libraries( MyAnalysis PUBLIC EventLoop ProofPlayer Proof Hist Tree xAODRootAccess Tree xAODEventFormat xAODCore RIO AthContainers AthLinks xAODRootAccessInterfaces CxxUtils boost_regex boost_system SampleHandler PyROOT Proof Tree RootCoreUtils Tree Hist Core RIO Net Hist Graf Graf3d Gpad Tree Rint Postscript Matrix Physics MathCore Thread m dl ) # Executable testRun built from package MyAnalysis add_executable( testRun /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/util/testRun.cxx ) target_include_directories( testRun PUBLIC /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis /home/hadar/Cloud/cernbox/HEP/projects/test/RootCoreBin/include /usr/local/include/root ) target_compile_definitions( testRun PUBLIC ROOTCORE ROOTCORE_RELEASE_SERIES=21 ROOTCORE_TEST_FILE=\"/afs/cern.ch/atlas/project/PAT/xAODs/r5591/mc14_8TeV.117050.PowhegPythia_P2011C_ttbar.recon.AOD.e1727_s1933_s1911_r5591/AOD.01494882._111853.pool.root.1\" ROOTCORE_TEST_DATA=\"/afs/cern.ch/atlas/project/PAT/xAODs/r5591\" XAOD_STANDALONE XAOD_ANALYSIS ) target_compile_options( testRun PUBLIC -I/home/hadar/Cloud/cernbox/HEP/projects/test/RootCoreBin/include -g -DROOTCORE -DROOTCORE_RELEASE_SERIES=21 -DROOTCORE_TEST_FILE=\"/afs/cern.ch/atlas/project/PAT/xAODs/r5591/mc14_8TeV.117050.PowhegPythia_P2011C_ttbar.recon.AOD.e1727_s1933_s1911_r5591/AOD.01494882._111853.pool.root.1\" -DROOTCORE_TEST_DATA=\"/afs/cern.ch/atlas/project/PAT/xAODs/r5591\" -DXAOD_STANDALONE -DXAOD_ANALYSIS -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/usr/local/include/root ) target_link_libraries( testRun PRIVATE MyAnalysis EventLoop ProofPlayer Proof Hist Tree xAODRootAccess Tree xAODEventFormat xAODCore RIO AthContainers AthLinks xAODRootAccessInterfaces CxxUtils boost_regex boost_system SampleHandler PyROOT Proof Tree RootCoreUtils Tree Hist Core RIO Net Hist Graf Graf3d Gpad Tree Rint Postscript Matrix Physics MathCore Thread m dl ) # Source file grouping for package MyAnalysis source_group( Root FILES /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/Root/MyxAODAnalysis.cxx /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/Root/LinkDef.h ) source_group( MyAnalysis FILES /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/MyAnalysis/MyxAODAnalysis.h ) source_group( cmt FILES /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/cmt/Makefile.RootCore ) source_group( util FILES /home/hadar/Cloud/cernbox/HEP/projects/test/MyAnalysis/util/testRun.cxx )