CMakeLists.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. if("${PROJECT_NAME}" STREQUAL "MPDROOT")
  2. set(CMAKE_SOURCE_FAIRMCSTACK "${CMAKE_SOURCE_DIR}/mcstack")
  3. else()
  4. set(CMAKE_SOURCE_FAIRMCSTACK "${CMAKE_SOURCE_DIR}/examples/common/mcstack")
  5. endif()
  6. set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/external/nicafemto/cmake/modules" ${CMAKE_MODULE_PATH})
  7. include(NicaFemto)
  8. SetHeaderVariables(${CMAKE_SOURCE_DIR}/external/nicafemto)
  9. set(NICAFEMTO_MPDCUTS
  10. ${CMAKE_SOURCE_DIR}/physics/nicafemto/cuts
  11. ${CMAKE_SOURCE_DIR}/physics/nicafemto/cuts/paircuts/common
  12. ${CMAKE_SOURCE_DIR}/physics/nicafemto/cuts/paircuts/common/tpc_cylinder
  13. ${CMAKE_SOURCE_DIR}/physics/nicafemto/cuts/paircuts/full
  14. ${CMAKE_SOURCE_DIR}/physics/nicafemto/cuts/paircuts/full/tpc_modular
  15. ${CMAKE_SOURCE_DIR}/physics/nicafemto/cuts/paircuts/minidst
  16. ${CMAKE_SOURCE_DIR}/physics/nicafemto/cuts/trackcuts
  17. ${CMAKE_SOURCE_DIR}/physics/nicafemto/cuts/cutmonitors
  18. )
  19. set(NICAFEMTO_MPDFORMAT
  20. ${CMAKE_SOURCE_DIR}/physics/nicafemto/format/combined
  21. ${CMAKE_SOURCE_DIR}/physics/nicafemto/format/minidst
  22. ${CMAKE_SOURCE_DIR}/physics/nicafemto/format/hbtformat
  23. ${CMAKE_SOURCE_DIR}/physics/nicafemto/format/mpdevent
  24. ${CMAKE_SOURCE_DIR}/physics/nicafemto/format/mpdmc
  25. ${CMAKE_SOURCE_DIR}/physics/nicafemto/format/unigen
  26. ${CMAKE_SOURCE_DIR}/physics/nicafemto/format/
  27. )
  28. set (NICAFEMTO_MPDHELPERS
  29. ${CMAKE_SOURCE_DIR}/physics/nicafemto/nica_helpers
  30. )
  31. add_subdirectory(cuts)
  32. add_subdirectory(format)
  33. add_subdirectory(nica_helpers)
  34. add_subdirectory(tasks)