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 2009/05/12 00:37:09 UTC

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

Author: shuston
Date: Mon May 11 22:37:08 2009
New Revision: 773716

URL: http://svn.apache.org/viewvc?rev=773716&view=rev
Log:
Windows adjustments to run tests

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

Modified: qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt?rev=773716&r1=773715&r2=773716&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt Mon May 11 22:37:08 2009
@@ -25,8 +25,9 @@
 # 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 @@
 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})



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