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
439 B
CMake
18 lines
439 B
CMake
set(EXPERIMENT_NAME hsc-simple)
|
|
set(EXPERIMENT_TYPE HSCSimpleExperiment)
|
|
configure_file(../instantiate-experiment.ah.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/instantiate-${EXPERIMENT_NAME}.ah @ONLY
|
|
)
|
|
|
|
#experiment sources
|
|
set(MY_EXPERIMENT_SRCS
|
|
experiment.hpp
|
|
experiment.cc
|
|
)
|
|
|
|
#### include directories ####
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
## build library
|
|
add_library(fail-${EXPERIMENT_NAME} ${MY_EXPERIMENT_SRCS})
|