cmGlobalXCodeGenerator: Save CMAKE_SYSTEM_NAME in member
This commit is contained in:
parent
d421274e3e
commit
ce624cfbd4
@ -271,6 +271,13 @@ std::string cmGlobalXCodeGenerator::FindXcodeBuildCommand()
|
||||
return makeProgram;
|
||||
}
|
||||
|
||||
bool cmGlobalXCodeGenerator::SetSystemName(std::string const& s,
|
||||
cmMakefile* mf)
|
||||
{
|
||||
this->SystemName = s;
|
||||
return this->cmGlobalGenerator::SetSystemName(s, mf);
|
||||
}
|
||||
|
||||
bool cmGlobalXCodeGenerator::SetGeneratorToolset(std::string const& ts,
|
||||
bool build, cmMakefile* mf)
|
||||
{
|
||||
|
@ -109,6 +109,7 @@ public:
|
||||
|
||||
bool ShouldStripResourcePath(cmMakefile*) const override;
|
||||
|
||||
bool SetSystemName(std::string const& s, cmMakefile* mf) override;
|
||||
bool SetGeneratorToolset(std::string const& ts, bool build,
|
||||
cmMakefile* mf) override;
|
||||
void AppendFlag(std::string& flags, std::string const& flag) const;
|
||||
@ -298,6 +299,7 @@ private:
|
||||
std::vector<std::string> Architectures;
|
||||
std::string ObjectDirArchDefault;
|
||||
std::string ObjectDirArch;
|
||||
std::string SystemName;
|
||||
std::string GeneratorToolset;
|
||||
std::map<cmGeneratorTarget const*, size_t> TargetOrderIndex;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user