[
https://issues.apache.org/jira/browse/QPID-8327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher updated QPID-8327:
----------------------------------
Description:
"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.
> 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]