cmInstallTargetGenerator: Re-arrange data layout.

Remove unused cmGeneratorTarget member.

Size goes from 238 to 232 bytes.
This commit is contained in:
Stephen Kelly 2015-06-07 10:01:00 +02:00
parent 125c48660c
commit dd0417c7be
2 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,9 @@ cmInstallTargetGenerator
MessageLevel message, MessageLevel message,
bool optional): bool optional):
cmInstallGenerator(dest, configurations, component, message), Target(&t), cmInstallGenerator(dest, configurations, component, message), Target(&t),
ImportLibrary(implib), FilePermissions(file_permissions), Optional(optional) FilePermissions(file_permissions),
ImportLibrary(implib),
Optional(optional)
{ {
this->ActionsPerConfig = true; this->ActionsPerConfig = true;
this->NamelinkMode = NamelinkModeNone; this->NamelinkMode = NamelinkModeNone;

View File

@ -14,7 +14,6 @@
#include "cmInstallGenerator.h" #include "cmInstallGenerator.h"
#include "cmTarget.h" #include "cmTarget.h"
#include "cmGeneratorTarget.h"
/** \class cmInstallTargetGenerator /** \class cmInstallTargetGenerator
* \brief Generate target installation rules. * \brief Generate target installation rules.
@ -100,11 +99,10 @@ protected:
const std::string& toDestDirPath); const std::string& toDestDirPath);
cmTarget* Target; cmTarget* Target;
bool ImportLibrary;
std::string FilePermissions; std::string FilePermissions;
bool Optional;
NamelinkModeType NamelinkMode; NamelinkModeType NamelinkMode;
cmGeneratorTarget* GeneratorTarget; bool ImportLibrary;
bool Optional;
}; };
#endif #endif