CMakeLists.txt 940 B

1234567891011121314151617181920212223
  1. CMAKE_MINIMUM_REQUIRED (VERSION 3.1)
  2. PROJECT (EGAMMA CXX)
  3. SET(CMAKE_CXX_STANDARD 17)
  4. ADD_SUBDIRECTORY(filval)
  5. LIST( APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/filval/cmake )
  6. FIND_PACKAGE(ROOT REQUIRED)
  7. # Compiles tracking efficiency executable
  8. ADD_EXECUTABLE(tracking_eff analysis/tracking_eff.cpp)
  9. # TARGET_LINK_LIBRARIES(tracking_eff filval yaml-cpp ${ROOT_LIBRARIES})
  10. TARGET_LINK_LIBRARIES(tracking_eff yaml-cpp ${ROOT_LIBRARIES})
  11. TARGET_INCLUDE_DIRECTORIES(tracking_eff PUBLIC ${ROOT_INCLUDE_DIR} ${CMAKE_SOURCE_DIR} filval/include/ filval/root/include/ filval/yaml-cpp/include/)
  12. ADD_EXECUTABLE(dump_good_sim analysis/dump_good_sim.cpp)
  13. # TARGET_LINK_LIBRARIES(dump_good_sim filval yaml-cpp ${ROOT_LIBRARIES})
  14. TARGET_LINK_LIBRARIES(dump_good_sim yaml-cpp ${ROOT_LIBRARIES})
  15. TARGET_INCLUDE_DIRECTORIES(dump_good_sim PUBLIC ${ROOT_INCLUDE_DIR} ${CMAKE_SOURCE_DIR} filval/include/ filval/root/include/ filval/yaml-cpp/include/)