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

Update CMake to use more modern simpler features

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++ Build
    • None

    Description

      The CMake build system for Qpid especially the Windows relevant bits can be improved and made easier to understand by using newer features of more recent CMake releases (especially post 3.0 features).

      This will allow us to remove the warnings:

      CMake Warning (dev) at src/msvc.cmake:31 (get_target_property):
        Policy CMP0026 is not set: Disallow use of the LOCATION target property.
        Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
        command to set the policy and suppress this warning.
       
        The LOCATION property should not be read from target "qpidtypes".  Use the
        target name directly with add_custom_command, or use the generator
        expression $<TARGET_FILE>, as appropriate.
       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: