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