[
https://issues.apache.org/jira/browse/MESOS-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16166445#comment-16166445
]
Benjamin Bannier commented on MESOS-6924:
-----------------------------------------
In principle, already a target preparing all source files would be sufficient
to parse Mesos code (e.g., for mesos-tidy, or for completion in editors). This
would involve at least generating the Mesos protobufs and unpacking any
3rdparty source dependencies, but would e.g., strictly not require building the
all dependencies.
> Add a target for external dependencies in CMake.
> ------------------------------------------------
>
> Key: MESOS-6924
> URL: https://issues.apache.org/jira/browse/MESOS-6924
> Project: Mesos
> Issue Type: Task
> Components: cmake
> Reporter: Michael Park
>
> It would be nice to be able to have a target for external dependencies, i.e.
> 3rdparty dependencies except {{stout}}/{{libprocess}}. This would help with
> {{mesos-tidy}} in specific, to do less work. We can currently spell out all
> of them + a hack around {{libev}} vs {{libevent}}, it would be cleaner to
> simply build an external dependencies target.
> {code}
> # Build the external dependencies.
> # TODO(mpark): Use an external dependencies target once MESOS-6924 is
> resolved.
> cmake --build 3rdparty --target boost-1.53.0
> cmake --build 3rdparty --target elfio-3.2
> cmake --build 3rdparty --target glog-0.3.3
> cmake --build 3rdparty --target gmock-1.7.0
> cmake --build 3rdparty --target http_parser-2.6.2
> # TODO(mpark): The `|| true` is a hack to try both `libev` and `libevent` and
> # use whichever one happens to be configured. This would also go
> # away with MESOS-6924.
> cmake --build 3rdparty --target libev-4.22 || true
> cmake --build 3rdparty --target libevent-2.1.5-beta || true
> cmake --build 3rdparty --target leveldb-1.4
> cmake --build 3rdparty --target nvml-352.79
> cmake --build 3rdparty --target picojson-1.3.0
> cmake --build 3rdparty --target protobuf-2.6.1
> cmake --build 3rdparty --target zookeeper-3.4.8
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)