adde changeDirectory

This commit is contained in:
Ken Martin 2001-06-21 17:53:15 -04:00
parent bda5baa566
commit 242a236db4
2 changed files with 8 additions and 1 deletions

View File

@ -906,6 +906,10 @@ bool cmSystemTools::FileIsDirectory(const char* name)
}
}
int cmSystemTools::ChangeDirectory(const char *dir)
{
return Chdir(dir);
}
std::string cmSystemTools::GetCurrentWorkingDirectory()
{

View File

@ -237,7 +237,10 @@ public:
///! Generate a temporary file name
static std::string TemporaryFileName();
///! change directory the the directory specified
static int ChangeDirectory(const char* dir);
private:
static bool s_ErrorOccured;
};