COMP: Fix errors and warnings from continuous dashboards running different compilers...
This commit is contained in:
parent
80714fb42f
commit
9a98928bd9
@ -245,6 +245,7 @@ int cmCPackGenerator::InstallProject()
|
|||||||
int cmCPackGenerator::InstallProjectViaInstallCommands(
|
int cmCPackGenerator::InstallProjectViaInstallCommands(
|
||||||
bool setDestDir, const char* tempInstallDirectory)
|
bool setDestDir, const char* tempInstallDirectory)
|
||||||
{
|
{
|
||||||
|
(void) setDestDir;
|
||||||
const char* installCommands = this->GetOption("CPACK_INSTALL_COMMANDS");
|
const char* installCommands = this->GetOption("CPACK_INSTALL_COMMANDS");
|
||||||
if ( installCommands && *installCommands )
|
if ( installCommands && *installCommands )
|
||||||
{
|
{
|
||||||
@ -1199,6 +1200,7 @@ bool cmCPackGenerator::SupportsComponentInstallation() const
|
|||||||
cmCPackInstallationType*
|
cmCPackInstallationType*
|
||||||
cmCPackGenerator::GetInstallationType(const char *projectName, const char *name)
|
cmCPackGenerator::GetInstallationType(const char *projectName, const char *name)
|
||||||
{
|
{
|
||||||
|
(void) projectName;
|
||||||
bool hasInstallationType = this->InstallationTypes.count(name) != 0;
|
bool hasInstallationType = this->InstallationTypes.count(name) != 0;
|
||||||
cmCPackInstallationType *installType = &this->InstallationTypes[name];
|
cmCPackInstallationType *installType = &this->InstallationTypes[name];
|
||||||
if (!hasInstallationType)
|
if (!hasInstallationType)
|
||||||
@ -1311,6 +1313,7 @@ cmCPackGenerator::GetComponent(const char *projectName, const char *name)
|
|||||||
cmCPackComponentGroup*
|
cmCPackComponentGroup*
|
||||||
cmCPackGenerator::GetComponentGroup(const char *projectName, const char *name)
|
cmCPackGenerator::GetComponentGroup(const char *projectName, const char *name)
|
||||||
{
|
{
|
||||||
|
(void) projectName;
|
||||||
std::string macroPrefix = "CPACK_COMPONENT_GROUP_"
|
std::string macroPrefix = "CPACK_COMPONENT_GROUP_"
|
||||||
+ cmsys::SystemTools::UpperCase(name);
|
+ cmsys::SystemTools::UpperCase(name);
|
||||||
bool hasGroup = this->ComponentGroups.count(name) != 0;
|
bool hasGroup = this->ComponentGroups.count(name) != 0;
|
||||||
|
@ -192,7 +192,7 @@ int cmCPackNSISGenerator::CompressFiles(const char* outFileName,
|
|||||||
{
|
{
|
||||||
installTypesCode += "InstType \"";
|
installTypesCode += "InstType \"";
|
||||||
installTypesCode += (*installTypeIt2)->DisplayName;
|
installTypesCode += (*installTypeIt2)->DisplayName;
|
||||||
installTypesCode += + "\"\n";
|
installTypesCode += "\"\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create installation groups first
|
// Create installation groups first
|
||||||
|
Loading…
x
Reference in New Issue
Block a user