From 5c87a2b35a096dab1256c93e9982530907ec35b3 Mon Sep 17 00:00:00 2001 From: barate Date: Thu, 12 Nov 2009 16:31:07 +0000 Subject: [PATCH] Commented unexisting Test directory in src/SSH/CMakeLists.txt and deactivated -r option for local file copy on Windows (copy util doesn't understand it). --- src/Core/Batch_CommunicationProtocolSH.cxx | 2 ++ src/SSH/CMakeLists.txt | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Core/Batch_CommunicationProtocolSH.cxx b/src/Core/Batch_CommunicationProtocolSH.cxx index b5193d6..965c627 100644 --- a/src/Core/Batch_CommunicationProtocolSH.cxx +++ b/src/Core/Batch_CommunicationProtocolSH.cxx @@ -75,7 +75,9 @@ namespace Batch { { vector cmd; cmd.push_back(CP_COMMAND); +#ifndef WIN32 cmd.push_back("-r"); +#endif cmd.push_back(fixPath(sourcePath)); cmd.push_back(fixPath(destinationPath)); return cmd; diff --git a/src/SSH/CMakeLists.txt b/src/SSH/CMakeLists.txt index fcdf99a..e2d921d 100644 --- a/src/SSH/CMakeLists.txt +++ b/src/SSH/CMakeLists.txt @@ -28,6 +28,6 @@ SET(CLASS_LIST SSH/Batch_FactBatchManager_eSSH APPEND_CLASSES_TO_SRC_FILES(${CLASS_LIST}) APPEND_CLASSES_TO_HDR_FILES(${CLASS_LIST}) -IF (TEST_ENABLED) - add_subdirectory(Test) -ENDIF (TEST_ENABLED) +#IF (TEST_ENABLED) +# add_subdirectory(Test) +#ENDIF (TEST_ENABLED) -- 2.39.2