Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment