[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to