git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1320 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
20 lines
406 B
CMake
20 lines
406 B
CMake
## Setup desired protobuf descriptions HERE ##
|
|
set(MY_PROTOS
|
|
FaultCoverageExperiment.proto
|
|
)
|
|
|
|
set(SRCS
|
|
example.cc
|
|
)
|
|
|
|
#### PROTOBUFS ####
|
|
find_package(Protobuf REQUIRED)
|
|
include_directories(${PROTOBUF_INCLUDE_DIRS})
|
|
include_directories(${CMAKE_CURRNET_BINARY_DIR})
|
|
|
|
PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS ${MY_PROTOS} )
|
|
|
|
## Build library
|
|
add_library(fcexperimentmessage ${PROTO_SRCS} ${SRCS} )
|
|
|