summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSubmit.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-07 04:07:24 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-07 04:07:24 (GMT)
commit2cd431d905d8dd33a59b095853e5ba7f4b66a9eb (patch)
treef4102d334c22f3bfca15851ea89df97417e66576 /Source/CTest/cmCTestSubmit.cxx
parent6ecc00601c90fc656eb92cdadf2758adba2816c3 (diff)
downloadCMake-2cd431d905d8dd33a59b095853e5ba7f4b66a9eb.zip
CMake-2cd431d905d8dd33a59b095853e5ba7f4b66a9eb.tar.gz
CMake-2cd431d905d8dd33a59b095853e5ba7f4b66a9eb.tar.bz2
Start working on improved test
Diffstat (limited to 'Source/CTest/cmCTestSubmit.cxx')
-rw-r--r--Source/CTest/cmCTestSubmit.cxx38
1 files changed, 38 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestSubmit.cxx b/Source/CTest/cmCTestSubmit.cxx
new file mode 100644
index 0000000..dbe9283
--- /dev/null
+++ b/Source/CTest/cmCTestSubmit.cxx
@@ -0,0 +1,38 @@
+/*=========================================================================
+
+ Program: CMake - Cross-Platform Makefile Generator
+ Module: $RCSfile$
+ Language: C++
+ Date: $Date$
+ Version: $Revision$
+
+ Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
+ See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+
+#include "cmCTestSubmit.h"
+#include "cmSystemTools.h"
+
+bool cmCTestSubmit::SubmitUsingFTP(const std::vector<std::string>& files,
+ const std::string& prefix,
+ const std::string& url)
+{
+ std::string::size_type cc;
+ for ( cc = 0; cc < files.size(); cc ++ )
+ {
+ std::cout << "upload file: " << files[cc].c_str() << " to " << url.c_str()
+ << " / " << prefix.c_str() << " " << files[cc].c_str() << std::endl;
+ }
+}
+
+bool cmCTestSubmit::SubmitUsingSCP(const std::vector<std::string>& files,
+ const std::string& prefix,
+ const std::string& url)
+{
+ std::cout << "SubmitUsingSCP is not yet implemented" << std::endl;
+}