Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8327

Allow CMake builds using qpid messaging clients to import targets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • qpid-cpp-1.40.0
    • None
    • None

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

      project(example LANGUAGES CXX)
      find_package(Qpid REQUIRED)
      add_executable(example example.cpp)
      target_link_library(example Qpid::qpid)
      

      We should support and encourage this kind of use.

      Attachments

        Activity

          People

            Unassigned Unassigned
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: