1
/*=========================================================================
3
Program: CMake - Cross-Platform Makefile Generator
4
Module: $RCSfile: cmCTestUpdateCommand.cxx,v $
6
Date: $Date: 2006-07-11 19:58:07 $
7
Version: $Revision: 1.15 $
9
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12
This software is distributed WITHOUT ANY WARRANTY; without even
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
PURPOSE. See the above copyright notices for more information.
16
=========================================================================*/
1
/*============================================================================
2
CMake - Cross Platform Makefile Generator
3
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
5
Distributed under the OSI-approved BSD License (the "License");
6
see accompanying file Copyright.txt for details.
8
This software is distributed WITHOUT ANY WARRANTY; without even the
9
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
See the License for more information.
11
============================================================================*/
17
12
#include "cmCTestUpdateCommand.h"
19
14
#include "cmCTest.h"
48
43
"SVNCommand", "CTEST_SVN_COMMAND");
49
44
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
50
45
"SVNUpdateOptions", "CTEST_SVN_UPDATE_OPTIONS");
46
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
47
"BZRCommand", "CTEST_BZR_COMMAND");
48
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
49
"BZRUpdateOptions", "CTEST_BZR_UPDATE_OPTIONS");
50
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
51
"GITCommand", "CTEST_GIT_COMMAND");
52
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
53
"GITUpdateOptions", "CTEST_GIT_UPDATE_OPTIONS");
54
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
55
"HGCommand", "CTEST_HG_COMMAND");
56
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
57
"HGUpdateOptions", "CTEST_HG_UPDATE_OPTIONS");
52
59
const char* initialCheckoutCommand
53
60
= this->Makefile->GetDefinition("CTEST_CHECKOUT_COMMAND");