Commit fc798aa4 authored by Eric Cano's avatar Eric Cano
Browse files

Added explicit dependencies in cmake to ensure generated code is ready before being needed.

parent 1d711b8e
......@@ -36,6 +36,27 @@ add_library(ctamessagesutils SHARED
TapeserverProxyDummy.cpp)
install(TARGETS ctamessagesutils DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
set (CtaMessageHdrs
AcsProxy.hpp
AcsProxyZmq.hpp
Constants.hpp
Frame.hpp
messages.hpp
Mutex.hpp
SmartZmqContext.hpp
TapeserverProxy.hpp
TapeserverProxyZmq.hpp
ZmqMsg.hpp
ZmqSocket.hpp
ZmqSocketMT.hpp
ZmqSocketST.hpp)
SET_SOURCE_FILES_PROPERTIES(${CtaMessageHdrs} PROPERTIES HEADER_FILE_ONLY TRUE)
FOREACH(MsgHdr ${CtaMessageHdrs})
SET_SOURCE_FILES_PROPERTIES(${CtaMessageHdrs}
PROPERTIES OBJECT_DEPENDS ${MsgHdr})
ENDFOREACH(MsgHdr)
set(CtaMessageSrcs
AcsProxy.cpp
AcsProxyZmq.cpp
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment