summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-02-08 17:26:33 +0000
committerStephen D. Huston <shuston@apache.org>2010-02-08 17:26:33 +0000
commite0d61752b81871926db66b82289623def6ef7aa2 (patch)
treed40d3d36df657ffbd460f5592897b38eceb96036 /cpp
parent66b1054129059d8b5a906ad2333f76e3c8557c05 (diff)
downloadqpid-python-e0d61752b81871926db66b82289623def6ef7aa2.tar.gz
Add tested part of patch from QPID-2371. Also add install for Debug variant of qmfconsole on Windows.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt
index 9270515515..f10940df24 100644
--- a/cpp/src/CMakeLists.txt
+++ b/cpp/src/CMakeLists.txt
@@ -409,6 +409,9 @@ if (CMAKE_SYSTEM_NAME STREQUAL Windows)
/wd4800
/wd4355
)
+ if (MSVC80)
+ add_definitions(/D "_WIN32_WINNT=0x0501")
+ endif (MSVC80)
endif (MSVC)
set (qpidcommon_platform_SOURCES
@@ -915,6 +918,15 @@ set_target_properties (qmfconsole PROPERTIES
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: