From: barate Date: Thu, 12 Nov 2009 16:31:07 +0000 (+0000) Subject: Commented unexisting Test directory in src/SSH/CMakeLists.txt and deactivated -r... X-Git-Tag: new_launcher_alpha_091119~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5c87a2b35a096dab1256c93e9982530907ec35b3;p=tools%2Flibbatch.git 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). --- 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)