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

qpidxarm CMake target is missing in 0-12

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.12
    • Fix Version/s: 0.12
    • Component/s: C++ Broker, C++ Client
    • Labels:
      None
    • Environment:

      Windows with Microsoft compilers (as opposed to mingw)

      Description

      cpp/src/CMakeLists.txt was altered for mingw builds in QPID-2905 (r1104662).

      The qpidxarm target builds the XA distributed transaction resource manager for use with the Microsoft distributed trasanction coordinator. It was targeted for Windows builds only, using the CMake variable "WIN32".

      This variable was changed to "_MSC_VER" for QPID-2905, presumably to indicate that the build target should only apply to builds using the Microsoft compiler, and not mingw. Unfortunately "_MSC_VER" is not a recognized CMAKE variable and the qpidxarm target is never generated.

      The CMake documentation indicates the the variable "MSVC" should be used to indicate The Microsoft compiler compared to mingw.

        Attachments

        1. jira-3338.patch
          0.7 kB
          Cliff Jansen

          Activity

            People

            • Assignee:
              cliffjansen Cliff Jansen
              Reporter:
              cliffjansen Cliff Jansen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: