CMakeLists.txt 310 B

12345678910111213141516
  1. set(INCLUDE_DIRECTORIES
  2. ${CMAKE_SOURCE_DIR}
  3. ${CMAKE_CURRENT_SOURCE_DIR}
  4. ${ROOT_INCLUDE_DIRS}
  5. )
  6. include_directories(${INCLUDE_DIRECTORIES})
  7. set(INCLUDE_LIBRARIES
  8. ${ROOT_LIBRARIES}
  9. )
  10. # Compile executable
  11. add_executable(count-data count_data.cpp)
  12. target_link_libraries(count-data ${INCLUDE_LIBRARIES})