Commit 06b22786 authored by Jan Möbius's avatar Jan Möbius
Browse files

Copy batch files only on windows

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13547 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3b53a075
......@@ -10,18 +10,25 @@ SET (CTEST_DROP_SITE_CDASH FALSE)
# ========================================================================
# Copy converter files from ctest output to correctly generate xml output
# ========================================================================
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/run_tests.sh
${CMAKE_BINARY_DIR}/tests/run_tests.sh COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/run_tests.bat
${CMAKE_BINARY_DIR}/tests/run_tests.bat COPYONLY)
if ( WIN32 )
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/head.bat
${CMAKE_BINARY_DIR}/tests/head.bat COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/run_tests.bat
${CMAKE_BINARY_DIR}/tests/run_tests.bat COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/head.bat
${CMAKE_BINARY_DIR}/tests/head.bat COPYONLY)
else(WIN32)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/run_tests.sh
${CMAKE_BINARY_DIR}/tests/run_tests.sh COPYONLY)
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/globalTestFiles/cube1.obj
${OPENFLIPPER_TEST_FILES}/cube1.obj COPYONLY)
make_directory(${OPENFLIPPER_TEST_RESULTS})
# ========================================================================
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment