You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2016/06/30 23:31:10 UTC
[jira] [Created] (MESOS-5756) Cmake build system needs to
regenerate protobufs when they are updated.
Joseph Wu created MESOS-5756:
--------------------------------
Summary: Cmake build system needs to regenerate protobufs when they are updated.
Key: MESOS-5756
URL: https://issues.apache.org/jira/browse/MESOS-5756
Project: Mesos
Issue Type: Improvement
Components: build, cmake
Reporter: Joseph Wu
Priority: Minor
Generated header files, such as protobufs are currently generated all at once in the CMake build system:
https://github.com/apache/mesos/blob/db8b0f16c1c8c6e683a4b788262f307a8bc218e0/cmake/MesosConfigure.cmake#L77-L80
This means, if a protobuf is changed, the CMake build system will not regenerate new protobufs unless you delete the generated {{/include}} directory.
----
Should be a trivial fix, as the CMake protobuf functions merely need to depend on the input file:
* https://github.com/apache/mesos/blob/db8b0f16c1c8c6e683a4b788262f307a8bc218e0/src/cmake/MesosProtobuf.cmake#L67
* https://github.com/apache/mesos/blob/db8b0f16c1c8c6e683a4b788262f307a8bc218e0/src/cmake/MesosProtobuf.cmake#L100
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)