diff options
| author | Stephen D. Huston <shuston@apache.org> | 2010-02-08 17:26:33 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2010-02-08 17:26:33 +0000 |
| commit | b67e0eb6d5a111db09eb59e75148a6265218845b (patch) | |
| tree | 1ae4a48636d2409ff4e907ad67d7434876842a43 /qpid/cpp | |
| parent | 285699c799ac56252f4da7e7da9ac07ee82eb31d (diff) | |
| download | qpid-python-b67e0eb6d5a111db09eb59e75148a6265218845b.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@907733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qpid/cpp/src/CMakeLists.txt b/qpid/cpp/src/CMakeLists.txt index 9270515515..f10940df24 100644 --- a/qpid/cpp/src/CMakeLists.txt +++ b/qpid/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: |
