mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmLocalUnixMakefileGenerator3: more methods accept std::string
This commit is contained in:
@@ -83,7 +83,7 @@ public:
|
||||
void WriteDivider(std::ostream& os);
|
||||
|
||||
/** used to create a recursive make call */
|
||||
std::string GetRecursiveMakeCall(const char* makefile,
|
||||
std::string GetRecursiveMakeCall(const std::string& makefile,
|
||||
const std::string& tgt);
|
||||
|
||||
// append flags to a string
|
||||
@@ -120,7 +120,7 @@ public:
|
||||
std::string const& targetDir,
|
||||
std::string const& relDir);
|
||||
|
||||
static std::string ConvertToQuotedOutputPath(const char* p,
|
||||
static std::string ConvertToQuotedOutputPath(const std::string& p,
|
||||
bool useWatcomQuote);
|
||||
|
||||
std::string CreateMakeVariable(const std::string& sin,
|
||||
@@ -128,7 +128,7 @@ public:
|
||||
|
||||
/** Called from command-line hook to bring dependencies up to date
|
||||
for a target. */
|
||||
bool UpdateDependencies(const char* tgtInfo, bool verbose,
|
||||
bool UpdateDependencies(const std::string& tgtInfo, bool verbose,
|
||||
bool color) override;
|
||||
|
||||
/** Called from command-line hook to clear dependencies. */
|
||||
@@ -158,8 +158,8 @@ public:
|
||||
cmGeneratorTarget const* tgt);
|
||||
|
||||
void AddImplicitDepends(cmGeneratorTarget const* tgt,
|
||||
const std::string& lang, const char* obj,
|
||||
const char* src);
|
||||
const std::string& lang, const std::string& obj,
|
||||
const std::string& src);
|
||||
|
||||
// write the target rules for the local Makefile into the stream
|
||||
void WriteLocalAllRules(std::ostream& ruleFileStream);
|
||||
@@ -200,9 +200,6 @@ protected:
|
||||
void WriteDependLanguageInfo(std::ostream& cmakefileStream,
|
||||
cmGeneratorTarget* tgt);
|
||||
|
||||
// write the local help rule
|
||||
void WriteHelpRule(std::ostream& ruleFileStream);
|
||||
|
||||
// this converts a file name that is relative to the StartOuputDirectory
|
||||
// into a full path
|
||||
std::string ConvertToFullPath(const std::string& localPath);
|
||||
@@ -211,15 +208,6 @@ protected:
|
||||
const std::string& realTarget,
|
||||
const std::string& helpTarget);
|
||||
|
||||
void WriteTargetDependRule(std::ostream& ruleFileStream,
|
||||
cmGeneratorTarget* target);
|
||||
void WriteTargetCleanRule(std::ostream& ruleFileStream,
|
||||
cmGeneratorTarget* target,
|
||||
const std::vector<std::string>& files);
|
||||
void WriteTargetRequiresRule(std::ostream& ruleFileStream,
|
||||
cmGeneratorTarget* target,
|
||||
const std::vector<std::string>& objects);
|
||||
|
||||
void AppendRuleDepend(std::vector<std::string>& depends,
|
||||
const char* ruleFileName);
|
||||
void AppendRuleDepends(std::vector<std::string>& depends,
|
||||
@@ -284,7 +272,8 @@ private:
|
||||
std::map<std::string, LocalObjectInfo>& localObjectFiles);
|
||||
|
||||
void WriteObjectConvenienceRule(std::ostream& ruleFileStream,
|
||||
const char* comment, const char* output,
|
||||
const char* comment,
|
||||
const std::string& output,
|
||||
LocalObjectInfo const& info);
|
||||
|
||||
std::vector<std::string> LocalHelp;
|
||||
|
||||
Reference in New Issue
Block a user