mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmLocalGenerator: Store cmGeneratorTargets.
Relieve cmMakefile of this responsibility.
This commit is contained in:
@@ -112,6 +112,19 @@ public:
|
||||
bool forResponseFile = false,
|
||||
const std::string& config = "");
|
||||
|
||||
const cmGeneratorTargetsType &GetGeneratorTargets() const
|
||||
{
|
||||
return this->GeneratorTargets;
|
||||
}
|
||||
|
||||
void SetGeneratorTargets(const cmGeneratorTargetsType &targets)
|
||||
{
|
||||
this->GeneratorTargets = targets;
|
||||
}
|
||||
void AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt);
|
||||
|
||||
cmGeneratorTarget* FindGeneratorTargetToUse(const std::string& name) const;
|
||||
|
||||
/**
|
||||
* Encode a list of preprocessor definitions for the compiler
|
||||
* command line.
|
||||
@@ -354,6 +367,7 @@ protected:
|
||||
std::set<std::string> ObjectMaxPathViolations;
|
||||
|
||||
std::set<cmTarget const*> WarnCMP0063;
|
||||
cmGeneratorTargetsType GeneratorTargets;
|
||||
|
||||
bool EmitUniversalBinaryFlags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user