Files
fail/tools/CMakeLists.txt
Lars Rademacher 8b5098abdd tools: added compute-hops and dump-hops tools
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
2014-01-23 18:53:11 +01:00

36 lines
1018 B
CMake

option(BUILD_DUMP_TRACE "Build the trace dump tool?" OFF)
option(BUILD_IMPORT_TRACE "Build the trace import tool?" OFF)
option(BUILD_PRUNE_TRACE "Build the trace prune tool?" OFF)
option(BUILD_CONVERT_TRACE "Build the trace converter tool?" OFF)
option(BUILD_COMPUTE_HOPS "Build the compute hops tool?" OFF)
option(BUILD_DUMP_HOPS "Build the hops dump tool?" OFF)
### Setup search paths for headers ##
include_directories(${CMAKE_CURRENT_BINARY_DIR}/../src/core)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../src/core)
if(BUILD_IMPORT_TRACE)
add_subdirectory(import-trace)
endif(BUILD_IMPORT_TRACE)
if(BUILD_PRUNE_TRACE)
add_subdirectory(prune-trace)
endif(BUILD_PRUNE_TRACE)
if(BUILD_DUMP_TRACE)
add_subdirectory(dump-trace)
endif(BUILD_DUMP_TRACE)
if(BUILD_CONVERT_TRACE)
add_subdirectory(convert-trace)
endif(BUILD_CONVERT_TRACE)
if(BUILD_COMPUTE_HOPS)
add_subdirectory(compute-hops)
endif(BUILD_COMPUTE_HOPS)
if(BUILD_DUMP_HOPS)
add_subdirectory(dump-hops)
endif(BUILD_DUMP_HOPS)