As these tools work closely together with fail components, its easiest, to build them in this context. As these tools don't really matter for fail use, they might never be pushed to the master branch. Change-Id: I8c8bd80376d0475f08a531a995d829e85032371b
14 lines
402 B
CMake
14 lines
402 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})
|
|
target_link_libraries(compute-hops ${PROTOBUF_LIBRARY} fail-util fail-comm)
|
|
install(TARGETS compute-hops RUNTIME DESTINATION bin)
|