You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/02/01 10:26:00 UTC
[jira] [Created] (DISPATCH-1942) Use modern idiomatic cmake 3.x
Jiri Daněk created DISPATCH-1942:
------------------------------------
Summary: Use modern idiomatic cmake 3.x
Key: DISPATCH-1942
URL: https://issues.apache.org/jira/browse/DISPATCH-1942
Project: Qpid Dispatch
Issue Type: Improvement
Reporter: Jiri Daněk
Assignee: Jiri Daněk
Fix For: 1.13.0
Dismissing the whole CMake modernization PR [1] is IMO too harsh. Much modernization is possible, even if we maintain CMake 2.8 compatibility, and that modernization is beneficial for overall sanity of the build code, as the example of Qpid Proton project shows. [2], [3]
RHEL 6.10 bundles cmake 2.8.12.2-4.el6 and RHEL 7.6 also has cmake {{2.8.12.2}}. Therefore, the first step would be to change minimum required version from {{2.6.2}} to this.
{code}
cmake_minimum_required(VERSION 2.8.12)
{code}
The indentation changes are of course harmless in any case and easy to make. I am not eager to bundle the whitespace change, as it is disruptive to merging work in progress (if git not configured to ignore whitespace).
[1] https://github.com/apache/qpid-dispatch/pull/288
[2] https://issues.apache.org/jira/browse/PROTON-1878 Improve cmake modularity - split out library detection code
[3] https://issues.apache.org/jira/browse/PROTON-1879 Update cmake so that it uses the easier to use imported target feature
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org