Skip to content
Snippets Groups Projects
Commit ac437091 authored by Eric Cano's avatar Eric Cano
Browse files

Re-expressed denpendencies for generated code.

parent fe89aebe
No related branches found
No related tags found
No related merge requests found
......@@ -36,27 +36,6 @@ 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
......@@ -93,3 +72,5 @@ add_library(ctamessagesunittests SHARED
MutexLockerTest.cpp
MutexTest.cpp)
install(TARGETS ctamessagesunittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
add_dependencies(ctamessagesunittests ctamessagesprotobuf)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment