You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2019/06/19 13:47:00 UTC

[jira] [Updated] (PROTON-2068) Allow CMake builds using proton-c clients to import targets

     [ https://issues.apache.org/jira/browse/PROTON-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Stitcher updated PROTON-2068:
------------------------------------
    Issue Type: Improvement  (was: Bug)

> 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: Improvement
>          Components: cpp-binding, proton-c
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.29.0
>
>
> "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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org