Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-05-26 10:33:49


Author: troy
Date: 2007-05-26 10:33:49 EDT (Sat, 26 May 2007)
New Revision: 4276
URL: http://svn.boost.org/trac/boost/changeset/4276

Log:

Have to copy this datafile over to the binary tree so the tests can
find it when building out-of-source.

Text files modified:
   sandbox-branches/boost-cmake/boost_1_34_0/libs/xpressive/test/CMakeLists.txt | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: sandbox-branches/boost-cmake/boost_1_34_0/libs/xpressive/test/CMakeLists.txt
==============================================================================
--- sandbox-branches/boost-cmake/boost_1_34_0/libs/xpressive/test/CMakeLists.txt (original)
+++ sandbox-branches/boost-cmake/boost_1_34_0/libs/xpressive/test/CMakeLists.txt 2007-05-26 10:33:49 EDT (Sat, 26 May 2007)
@@ -7,6 +7,12 @@
 boost_test_fail("multipledefs")
 boost_test_fail("msvc-stlport")
 
+if (NOT ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
+ FILE(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/libs/date_time/data")
+ execute_process(COMMAND cmake -E copy "${CMAKE_SOURCE_DIR}/libs/xpressive/test/regress.txt" "${CMAKE_CURRENT_BINARY_DIR}")
+endif (NOT ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
+
+
 SET(runtests
   regress
   c_traits


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