You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/06/19 13:53:01 UTC

[jira] [Commented] (QPID-8327) Allow CMake builds using qpid messaging clients to import targets

    [ https://issues.apache.org/jira/browse/QPID-8327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867652#comment-16867652 ] 

ASF subversion and git services commented on QPID-8327:
-------------------------------------------------------

Commit c58d88b32d294d048ae064e7948f703bed3a7fa0 in qpid-cpp's branch refs/heads/master from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-cpp.git;h=c58d88b ]

QPID-8327: Add Qpid::qpid imported target to cmake config file
- This allows CMake users to just do target_link_libraries(xxx Qpid::qpid)


> Allow CMake builds using qpid messaging clients to import targets
> -----------------------------------------------------------------
>
>                 Key: QPID-8327
>                 URL: https://issues.apache.org/jira/browse/QPID-8327
>             Project: Qpid
>          Issue Type: Improvement
>            Reporter: Andrew Stitcher
>            Priority: Major
>
> "New" style CMake  (actually not really new) allows the use of imported targets linked to the projects own targets to carry all the information needed to use the library and so is much simpler and more foolproof to use.
> This is like (a simple and complete example):
> {code:java}
> project(example LANGUAGES CXX)
> find_package(Qpid REQUIRED)
> add_executable(example example.cpp)
> target_link_library(example Qpid::qpid)
> {code}
> We should support and encourage this kind of use.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org