# =============================================================================# ROOT dictionary# Normally this is not needed, but rootcling cannot see these files# if the current source directory (which is 'PROJECTBASEDIR/src' in our case)# is not added to the include_directories list.include_directories(${CMAKE_CURRENT_SOURCE_DIR})set(ROOTCLING_HEADERS TNeAnalysis.h TNeDet16.h TNeEvent.h TNeMParms.h TNeProc.h TNeSel.h)ROOT_GENERATE_DICTIONARY(G__UserAnalysis ${ROOTCLING_HEADERS} LINKDEF NeLinkDef.h)# =============================================================================set(SOURCE_LIB G__UserAnalysis.cxx TNeAnalysis.cxx TNeDet16.cxx TNeEvent.cxx TNeMParms.cxx TNeProc.cxx TNeSel.cxx)add_library(UserAnalysis SHARED ${SOURCE_LIB})target_link_libraries(UserAnalysis Go4Analysis)