summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-05-11 22:37:17 +0000
committerStephen D. Huston <shuston@apache.org>2009-05-11 22:37:17 +0000
commit2361d2679caa60a248fa5ce5f3a93285c567203e (patch)
tree28e28b72625e3cf0ec28c3eb4f21cc4b8350c0f3 /qpid/cpp
parenta68dafc3523b6ddc13517717bf83cbea60e9fa6a (diff)
downloadqpid-python-2361d2679caa60a248fa5ce5f3a93285c567203e.tar.gz
Windows adjustments to run tests
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@773716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/tests/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/CMakeLists.txt b/qpid/cpp/src/tests/CMakeLists.txt
index 5943f343ec..da7bb7d89b 100644
--- a/qpid/cpp/src/tests/CMakeLists.txt
+++ b/qpid/cpp/src/tests/CMakeLists.txt
@@ -25,8 +25,9 @@ include (FindPythonInterp)
# Using the Boost DLLs triggers warning 4275 on Visual Studio
# (non dll-interface class used as base for dll-interface class).
# This is ok, so suppress the warning.
+# Also, boost lengthy names trigger warning 4503, decorated name length exceeded
if (MSVC)
- add_definitions( /wd4275 )
+ add_definitions( /wd4275 /wd4503 )
endif (MSVC)
set (qpid_test_boost_libs ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_REGEX_LIBRARY})
@@ -217,7 +218,7 @@ target_link_libraries (sender qpidclient)
add_dependencies (check sender)
if (CMAKE_SYSTEM_NAME STREQUAL Windows)
- set (test_script_suffix ".w32")
+ set (test_script_suffix ".bat")
endif (CMAKE_SYSTEM_NAME STREQUAL Windows)
set(test_wrap ${CMAKE_CURRENT_SOURCE_DIR}/test_wrap${test_script_suffix})