CMAKE_MINIMUM_REQUIRED (VERSION 2.8) PROJECT (EGAMMA CXX) SET(CMAKE_BUILD_TYPE "Release") ADD_SUBDIRECTORY(filval) # Compiles tracking efficiency executable ADD_EXECUTABLE(tracking_eff analysis/tracking_eff.cpp) TARGET_LINK_LIBRARIES(tracking_eff filval yaml-cpp) TARGET_INCLUDE_DIRECTORIES(tracking_eff ${ROOT_INCLUDE_DIR} filval/include/ filval/root/include/ filval/yaml-cpp/include/)