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/18 14:15:00 UTC

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

Andrew Stitcher created PROTON-2068:
---------------------------------------

             Summary: 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


"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