- set(INCLUDE_DIRECTORIES
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}
- ${ROOT_INCLUDE_DIRS}
- )
- include_directories(${INCLUDE_DIRECTORIES})
- set(INCLUDE_LIBRARIES
- ${ROOT_LIBRARIES}
- )
- # Compile executable
- add_executable(count-data count_data.cpp)
- target_link_libraries(count-data ${INCLUDE_LIBRARIES})
|