cmGlobalGenerator.h: some minor coding style fixes

- this-> was missing
- removed unnecessary semicolons
- indented unindented lines

Alex
This commit is contained in:
Alex Neundorf 2012-09-15 21:12:59 +02:00 committed by Brad King
parent 875f3a4231
commit 65a30c69a2

View File

@ -127,8 +127,8 @@ public:
void SetCMakeInstance(cmake *cm); void SetCMakeInstance(cmake *cm);
///! Get the CMake instance ///! Get the CMake instance
cmake *GetCMakeInstance() { return this->CMakeInstance; }; cmake *GetCMakeInstance() { return this->CMakeInstance; }
const cmake *GetCMakeInstance() const { return this->CMakeInstance; }; const cmake *GetCMakeInstance() const { return this->CMakeInstance; }
void SetConfiguredFilesPath(cmGlobalGenerator* gen); void SetConfiguredFilesPath(cmGlobalGenerator* gen);
const std::vector<cmLocalGenerator *>& GetLocalGenerators() const { const std::vector<cmLocalGenerator *>& GetLocalGenerators() const {
@ -151,7 +151,7 @@ public:
void AddInstallComponent(const char* component); void AddInstallComponent(const char* component);
const std::set<cmStdString>* GetInstallComponents() const const std::set<cmStdString>* GetInstallComponents() const
{ return &InstallComponents; } { return &this->InstallComponents; }
///! Add one installed target to the sets of the exports ///! Add one installed target to the sets of the exports
void AddTargetToExports(const char* exportSet, cmTarget* target, void AddTargetToExports(const char* exportSet, cmTarget* target,
@ -222,7 +222,7 @@ public:
/** Get the manifest of all targets that will be built for each /** Get the manifest of all targets that will be built for each
configuration. This is valid during generation only. */ configuration. This is valid during generation only. */
cmTargetManifest const& GetTargetManifest() const cmTargetManifest const& GetTargetManifest() const
{ return this->TargetManifest; } { return this->TargetManifest; }
/** Get the content of a directory. Directory listings are loaded /** Get the content of a directory. Directory listings are loaded
from disk at most once and cached. During the generation step from disk at most once and cached. During the generation step
@ -328,8 +328,7 @@ protected:
cmLocalGenerator* CurrentLocalGenerator; cmLocalGenerator* CurrentLocalGenerator;
// map from project name to vector of local generators in that project // map from project name to vector of local generators in that project
std::map<cmStdString, std::vector<cmLocalGenerator*> > ProjectMap; std::map<cmStdString, std::vector<cmLocalGenerator*> > ProjectMap;
std::map<cmLocalGenerator*, std::set<cmTarget *> > std::map<cmLocalGenerator*, std::set<cmTarget *> > LocalGeneratorToTargetMap;
LocalGeneratorToTargetMap;
// Set of named installation components requested by the project. // Set of named installation components requested by the project.
std::set<cmStdString> InstallComponents; std::set<cmStdString> InstallComponents;