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

qpidxarm CMake target is missing in 0-12

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.12
    • 0.12
    • C++ Broker, C++ Client
    • None
    • 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
          Clifford Jansen

        Activity

          People

            cliffjansen Clifford Jansen
            cliffjansen Clifford Jansen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: