From e4af567bd224ffcac53d81e6d8492ca415f30ea4 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 2 May 2005 15:51:12 -0400 Subject: [PATCH] ENH: Make AddCMakePath public --- Source/cmake.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/cmake.h b/Source/cmake.h index ec553bd58..94b875fb2 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -256,6 +256,11 @@ class cmake bool HasWrittenFile(const char* file); void CleanupWrittenFiles(); + /** + * Generate CMAKE_ROOT and CMAKE_COMMAND cache entries + */ + int AddCMakePaths(const char *arg0); + protected: typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)(); typedef std::map RegisteredGeneratorsMap; @@ -284,11 +289,6 @@ protected: */ int CheckBuildSystem(); - /** - * Generate CMAKE_ROOT and CMAKE_COMMAND cache entries - */ - int AddCMakePaths(const char *arg0); - void SetDirectoriesFromFile(const char* arg); cmVariableWatch* m_VariableWatch;