Unfortunately, this does not (yet) work as advertised. I need to fight another round of CMake battles before retrying. Reverting to previous state for now. This reverts r1753. git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1767 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
18 lines
463 B
CMake
18 lines
463 B
CMake
set(EXPERIMENT_NAME tracing-test)
|
|
set(EXPERIMENT_TYPE TracingTest)
|
|
configure_file(../instantiate-experiment.ah.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/instantiate-${EXPERIMENT_NAME}.ah @ONLY
|
|
)
|
|
|
|
set(MY_CAMPAIGN_SRCS
|
|
experiment.hpp
|
|
experiment.cc
|
|
)
|
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
## Build library
|
|
add_library(fail-${EXPERIMENT_NAME} ${PROTO_SRCS} ${PROTO_HDRS} ${MY_CAMPAIGN_SRCS})
|
|
|
|
add_dependencies(fail-${EXPERIMENT_NAME} fail-tracing)
|