ENH: Make FindMakeProgram public

This commit is contained in:
Andy Cedilnik 2005-05-02 15:50:42 -04:00
parent f1ebfb24c6
commit f812d053f6
1 changed files with 8 additions and 3 deletions

View File

@ -98,8 +98,9 @@ public:
std::string *output, std::string *output,
const char *makeProgram, const char *config, const char *makeProgram, const char *config,
bool clean); bool clean);
virtual std::string GenerateBuildCommand(const char* makeProgram, const char *projectName, const char *targetName, virtual std::string GenerateBuildCommand(const char* makeProgram,
const char* config, bool ignoreErrors); const char *projectName, const char *targetName,
const char* config, bool ignoreErrors);
///! Set the CMake instance ///! Set the CMake instance
void SetCMakeInstance(cmake *cm) { void SetCMakeInstance(cmake *cm) {
@ -137,11 +138,15 @@ public:
std::string ConvertToRelativePath(const std::vector<std::string>& local, std::string ConvertToRelativePath(const std::vector<std::string>& local,
const char* remote); const char* remote);
/*
* Determine what program to use for building the project.
*/
void FindMakeProgram(cmMakefile*);
protected: protected:
// Fill the m_ProjectMap, this must be called after m_LocalGenerators has been populated. // Fill the m_ProjectMap, this must be called after m_LocalGenerators has been populated.
void FillProjectMap(); void FillProjectMap();
bool IsExcluded(cmLocalGenerator* root, cmLocalGenerator* gen); bool IsExcluded(cmLocalGenerator* root, cmLocalGenerator* gen);
void FindMakeProgram(cmMakefile*);
void ConfigureRelativePaths(); void ConfigureRelativePaths();
void SetupTests(); void SetupTests();