Commit 3cd5fd4e authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: Remove debug and fix space between label and exec name

parent 213ea40c
...@@ -134,7 +134,7 @@ int cmCPackNSISGenerator::Initialize(const char* name, cmMakefile* mf) ...@@ -134,7 +134,7 @@ int cmCPackNSISGenerator::Initialize(const char* name, cmMakefile* mf)
const char* cpackPackageExecutables = this->GetOption("CPACK_PACKAGE_EXECUTABLES"); const char* cpackPackageExecutables = this->GetOption("CPACK_PACKAGE_EXECUTABLES");
if ( cpackPackageExecutables ) if ( cpackPackageExecutables )
{ {
cmCPackLogger(cmCPackLog::LOG_ERROR, "The cpackPackageExecutables: " << cpackPackageExecutables << "." << std::endl); cmCPackLogger(cmCPackLog::LOG_DEBUG, "The cpackPackageExecutables: " << cpackPackageExecutables << "." << std::endl);
cmOStringStream str; cmOStringStream str;
cmOStringStream deleteStr; cmOStringStream deleteStr;
std::vector<std::string> cpackPackageExecutablesVector; std::vector<std::string> cpackPackageExecutablesVector;
...@@ -151,7 +151,7 @@ int cmCPackNSISGenerator::Initialize(const char* name, cmMakefile* mf) ...@@ -151,7 +151,7 @@ int cmCPackNSISGenerator::Initialize(const char* name, cmMakefile* mf)
std::string execName = *it; std::string execName = *it;
++ it; ++ it;
std::string linkName = *it; std::string linkName = *it;
str << " CreateShortCut \"$SMPROGRAMS\\$STARTMENU_FOLDER\\" << linkName << ".lnk\"" "\"$INSTDIR\\bin\\" << execName << ".exe\"" << std::endl; str << " CreateShortCut \"$SMPROGRAMS\\$STARTMENU_FOLDER\\" << linkName << ".lnk\" \"$INSTDIR\\bin\\" << execName << ".exe\"" << std::endl;
deleteStr << " Delete \"$SMPROGRAMS\\$MUI_TEMP\\" << linkName << ".lnk\"" << std::endl; deleteStr << " Delete \"$SMPROGRAMS\\$MUI_TEMP\\" << linkName << ".lnk\"" << std::endl;
} }
this->SetOption("CPACK_NSIS_CREATE_ICONS", str.str().c_str()); this->SetOption("CPACK_NSIS_CREATE_ICONS", str.str().c_str());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment