diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-05-02 19:50:42 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-05-02 19:50:42 (GMT) |
commit | f812d053f600e5cbb2072432cd549c8777b3af74 (patch) | |
tree | 84725a87e5ae5f7b8cd061d9b3258ac3beec601d | |
parent | f1ebfb24c63e9a37d440d405d0940ee07d572ace (diff) | |
download | CMake-f812d053f600e5cbb2072432cd549c8777b3af74.zip CMake-f812d053f600e5cbb2072432cd549c8777b3af74.tar.gz CMake-f812d053f600e5cbb2072432cd549c8777b3af74.tar.bz2 |
ENH: Make FindMakeProgram public
-rw-r--r-- | Source/cmGlobalGenerator.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index a250ab0..c72ab67 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -98,8 +98,9 @@ public: std::string *output, const char *makeProgram, const char *config, bool clean); - virtual std::string GenerateBuildCommand(const char* makeProgram, const char *projectName, const char *targetName, - const char* config, bool ignoreErrors); + virtual std::string GenerateBuildCommand(const char* makeProgram, + const char *projectName, const char *targetName, + const char* config, bool ignoreErrors); ///! Set the CMake instance void SetCMakeInstance(cmake *cm) { @@ -137,11 +138,15 @@ public: std::string ConvertToRelativePath(const std::vector<std::string>& local, const char* remote); + /* + * Determine what program to use for building the project. + */ + void FindMakeProgram(cmMakefile*); + protected: // Fill the m_ProjectMap, this must be called after m_LocalGenerators has been populated. void FillProjectMap(); bool IsExcluded(cmLocalGenerator* root, cmLocalGenerator* gen); - void FindMakeProgram(cmMakefile*); void ConfigureRelativePaths(); void SetupTests(); |