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

ASF subversion and git services commented on PROTON-2068:
---------------------------------------------------------

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

PROTON-2068: Add imported targets to cmake find proton package files
- This allows Proton users to use imported targets Proton::core,
  Proton::proactor and Proton::cpp to link to this libraries.


> Allow CMake builds using proton-c clients to import targets
> -----------------------------------------------------------
>
>                 Key: PROTON-2068
>                 URL: https://issues.apache.org/jira/browse/PROTON-2068
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding, proton-c
>            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(ProtonCpp REQUIRED)
> add_executable(example example.cpp)
> target_link_library(example Proton::cpp)
> {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