Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
3cd5fd4e
Commit
3cd5fd4e
authored
Feb 16, 2006
by
Andy Cedilnik
Browse files
BUG: Remove debug and fix space between label and exec name
parent
213ea40c
Changes
1
Show whitespace changes
Inline
Side-by-side
Source/CPack/cmCPackNSISGenerator.cxx
View file @
3cd5fd4e
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment