[
https://issues.apache.org/jira/browse/HDFS-11518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anatoli Shein updated HDFS-11518:
---------------------------------
Attachment: HDFS-11518.HDFS-8707.000.patch
Added a cmake variable HDFSPP_LIBRARY_ONLY. If it is defined tests, examples,
and tools will not be built.
> libhdfs++: Add a build option to skip building examples, tests, and tools
> -------------------------------------------------------------------------
>
> Key: HDFS-11518
> URL: https://issues.apache.org/jira/browse/HDFS-11518
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: James Clampffer
> Assignee: Anatoli Shein
> Attachments: HDFS-11518.HDFS-8707.000.patch
>
>
> Adding a flag to just build the core library without tools, examples, and
> tests will make it easier and lighter weight to embed the libhdfs++ source as
> a third-party component of other projects. It won't need to look for a JDK,
> valgrind, and gmock and won't generate a handful of binaries that might not
> be relevant to other projects during normal use.
> This should also make it a bit easier to wire into other build frameworks
> since there won't be standalone binaries that need the path to other
> libraries like protobuf while the library builds. They just need to be
> around while the project embedding libhdfs++ gets linked.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]