mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
cmGlobalXCodeGenerator: Save CMAKE_SYSTEM_NAME in member
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user