Files
fail/tools/compute-hops/CMakeLists.txt
Horst Schirmeier 6509d50ec1 compute-hops: detail fixes and optional procps dep
Cleanups, warning fix, optional procps dep, --help correction.

Change-Id: Iba719493e4a8ec37acb7336a39172b3cdefbdc99
2016-07-26 17:41:32 +02:00

15 lines
453 B
CMake

set(SRCS
ResultCollector.cc
SimpleAlgorithm.cc
SmartAlgorithm.cc
)
if(NOT CONFIG_INJECTIONPOINT_HOPS)
message (FATAL_ERROR "For building the compute-hops tool you need to enable CONFIG_INJECTIONPOINT_HOPS")
endif()
add_executable(compute-hops main.cc ${SRCS})
# add procps for built-in memory-usage measurements:
target_link_libraries(compute-hops ${PROTOBUF_LIBRARY} fail-util fail-comm)
install(TARGETS compute-hops RUNTIME DESTINATION bin)