CMakeLists.txt 428 B

123456789101112131415161718192021
  1. set(fmcDst_h_files
  2. fmcEvent.h
  3. fmcEventHeader.h
  4. fmcParticle.h)
  5. set(fmcDst_cxx_files
  6. fmcEvent.cxx
  7. fmcEventHeader.cxx
  8. fmcParticle.cxx)
  9. #---Generate dictionary
  10. ROOT_GENERATE_DICTIONARY(G__fmcDst
  11. ${fmcDst_h_files}
  12. LINKDEF fmcDst.LinkDef.h)
  13. #---Create a shared library of the class
  14. add_library(fmcDst SHARED
  15. ${fmcDst_cxx_files}
  16. G__fmcDst.cxx)
  17. target_link_libraries(fmcDst ${ROOT_LIBRARIES})