You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by sh...@apache.org on 2010/02/08 18:26:33 UTC

svn commit: r907733 - /qpid/trunk/qpid/cpp/src/CMakeLists.txt

Author: shuston
Date: Mon Feb  8 17:26:33 2010
New Revision: 907733

URL: http://svn.apache.org/viewvc?rev=907733&view=rev
Log:
Add tested part of patch from QPID-2371. Also add install for Debug variant of qmfconsole on Windows.

Modified:
    qpid/trunk/qpid/cpp/src/CMakeLists.txt

Modified: qpid/trunk/qpid/cpp/src/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/CMakeLists.txt?rev=907733&r1=907732&r2=907733&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/src/CMakeLists.txt Mon Feb  8 17:26:33 2010
@@ -409,6 +409,9 @@
       /wd4800
       /wd4355
     )
+    if (MSVC80)
+      add_definitions(/D "_WIN32_WINNT=0x0501")
+    endif (MSVC80)
   endif (MSVC)
 
   set (qpidcommon_platform_SOURCES
@@ -915,6 +918,15 @@
 install (TARGETS qmfconsole
          DESTINATION ${QPID_INSTALL_LIBDIR}
          COMPONENT ${QPID_COMPONENT_QMF})
+# On Windows, also grab the debug version of qmfconsole.
+if (WIN32)
+    install (PROGRAMS
+             ${CMAKE_CURRENT_BINARY_DIR}/Release/qmfconsoled.dll
+             ${CMAKE_CURRENT_BINARY_DIR}/Release/qmfconsoled.lib
+             ${CMAKE_CURRENT_BINARY_DIR}/Release/qmfconsoled.pdb
+             DESTINATION ${QPID_INSTALL_LIBDIR}
+             COMPONENT ${QPID_COMPONENT_QMF})
+endif (WIN32)
 
 # A queue event listener plugin that creates messages on a replication
 # queue corresponding to enqueue and dequeue events:



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org