mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 04:24:36 +08:00
cmGlobalXCodeGenerator: Save CMAKE_SYSTEM_NAME in member
This commit is contained in:
@@ -271,6 +271,13 @@ std::string cmGlobalXCodeGenerator::FindXcodeBuildCommand()
|
|||||||
return makeProgram;
|
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 cmGlobalXCodeGenerator::SetGeneratorToolset(std::string const& ts,
|
||||||
bool build, cmMakefile* mf)
|
bool build, cmMakefile* mf)
|
||||||
{
|
{
|
||||||
|
@@ -109,6 +109,7 @@ public:
|
|||||||
|
|
||||||
bool ShouldStripResourcePath(cmMakefile*) const override;
|
bool ShouldStripResourcePath(cmMakefile*) const override;
|
||||||
|
|
||||||
|
bool SetSystemName(std::string const& s, cmMakefile* mf) override;
|
||||||
bool SetGeneratorToolset(std::string const& ts, bool build,
|
bool SetGeneratorToolset(std::string const& ts, bool build,
|
||||||
cmMakefile* mf) override;
|
cmMakefile* mf) override;
|
||||||
void AppendFlag(std::string& flags, std::string const& flag) const;
|
void AppendFlag(std::string& flags, std::string const& flag) const;
|
||||||
@@ -298,6 +299,7 @@ private:
|
|||||||
std::vector<std::string> Architectures;
|
std::vector<std::string> Architectures;
|
||||||
std::string ObjectDirArchDefault;
|
std::string ObjectDirArchDefault;
|
||||||
std::string ObjectDirArch;
|
std::string ObjectDirArch;
|
||||||
|
std::string SystemName;
|
||||||
std::string GeneratorToolset;
|
std::string GeneratorToolset;
|
||||||
std::map<cmGeneratorTarget const*, size_t> TargetOrderIndex;
|
std::map<cmGeneratorTarget const*, size_t> TargetOrderIndex;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user