Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2008-06-14 21:31:09


Author: troy
Date: 2008-06-14 21:31:09 EDT (Sat, 14 Jun 2008)
New Revision: 46402
URL: http://svn.boost.org/trac/boost/changeset/46402

Log:
Windows support. Watch those backslashes.
Text files modified:
   branches/CMake/release/tools/build/CMake/BoostTesting.cmake | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: branches/CMake/release/tools/build/CMake/BoostTesting.cmake
==============================================================================
--- branches/CMake/release/tools/build/CMake/BoostTesting.cmake (original)
+++ branches/CMake/release/tools/build/CMake/BoostTesting.cmake 2008-06-14 21:31:09 EDT (Sat, 14 Jun 2008)
@@ -218,8 +218,10 @@
       # This target builds and runs the test
       add_custom_target(${BOOST_TEST_TESTNAME})
 
+ file( TO_NATIVE_PATH "${BOOST_TEST_DRIVER}" NATIVE_BOOST_TEST_DRIVER )
+
       set(THIS_TEST_PREFIX_ARGS
- ${PYTHON_EXECUTABLE} ${BOOST_TEST_DRIVER} ${CMAKE_CURRENT_BINARY_DIR} ${BOOST_TEST_TAG} ${testname}
+ ${PYTHON_EXECUTABLE} ${NATIVE_BOOST_TEST_DRIVER} ${CMAKE_CURRENT_BINARY_DIR} ${BOOST_TEST_TAG} ${testname}
         )
 
       add_custom_command(TARGET ${BOOST_TEST_TESTNAME}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk