ENH: Make AddCMakePath public

This commit is contained in:
Andy Cedilnik 2005-05-02 15:51:12 -04:00
parent f812d053f6
commit e4af567bd2
1 changed files with 5 additions and 5 deletions

View File

@ -256,6 +256,11 @@ class cmake
bool HasWrittenFile(const char* file); bool HasWrittenFile(const char* file);
void CleanupWrittenFiles(); void CleanupWrittenFiles();
/**
* Generate CMAKE_ROOT and CMAKE_COMMAND cache entries
*/
int AddCMakePaths(const char *arg0);
protected: protected:
typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)(); typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)();
typedef std::map<cmStdString, CreateGeneratorFunctionType> RegisteredGeneratorsMap; typedef std::map<cmStdString, CreateGeneratorFunctionType> RegisteredGeneratorsMap;
@ -284,11 +289,6 @@ protected:
*/ */
int CheckBuildSystem(); int CheckBuildSystem();
/**
* Generate CMAKE_ROOT and CMAKE_COMMAND cache entries
*/
int AddCMakePaths(const char *arg0);
void SetDirectoriesFromFile(const char* arg); void SetDirectoriesFromFile(const char* arg);
cmVariableWatch* m_VariableWatch; cmVariableWatch* m_VariableWatch;