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
Brad King
CMake
Commits
3429541e
Commit
3429541e
authored
Dec 30, 2013
by
Stephen Kelly
Browse files
export: Rename some variables to reflect content type.
This method is used with a list of languages.
parent
7461d67c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/cmExportFileGenerator.cxx
View file @
3429541e
...
...
@@ -825,36 +825,36 @@ cmExportFileGenerator
::
SetImportLinkProperty
(
std
::
string
const
&
suffix
,
cmTarget
*
target
,
const
char
*
propName
,
std
::
vector
<
std
::
string
>
const
&
lib
s
,
std
::
vector
<
std
::
string
>
const
&
entrie
s
,
ImportPropertyMap
&
properties
,
std
::
vector
<
std
::
string
>&
missingTargets
)
{
// Skip the property if there are no
libra
ries.
if
(
lib
s
.
empty
())
// Skip the property if there are no
ent
ries.
if
(
entrie
s
.
empty
())
{
return
;
}
// Construct the property value.
std
::
string
link_
lib
s
;
std
::
string
link_
entrie
s
;
const
char
*
sep
=
""
;
for
(
std
::
vector
<
std
::
string
>::
const_iterator
li
=
lib
s
.
begin
();
li
!=
lib
s
.
end
();
++
li
)
for
(
std
::
vector
<
std
::
string
>::
const_iterator
li
=
entrie
s
.
begin
();
li
!=
entrie
s
.
end
();
++
li
)
{
// Separate this from the previous entry.
link_
lib
s
+=
sep
;
link_
entrie
s
+=
sep
;
sep
=
";"
;
std
::
string
temp
=
*
li
;
this
->
AddTargetNamespace
(
temp
,
target
,
missingTargets
);
link_
lib
s
+=
temp
;
link_
entrie
s
+=
temp
;
}
// Store the property.
std
::
string
prop
=
propName
;
prop
+=
suffix
;
properties
[
prop
]
=
link_
lib
s
;
properties
[
prop
]
=
link_
entrie
s
;
}
...
...
Source/cmExportFileGenerator.h
View file @
3429541e
...
...
@@ -82,7 +82,7 @@ protected:
std
::
vector
<
std
::
string
>&
missingTargets
);
void
SetImportLinkProperty
(
std
::
string
const
&
suffix
,
cmTarget
*
target
,
const
char
*
propName
,
std
::
vector
<
std
::
string
>
const
&
lib
s
,
std
::
vector
<
std
::
string
>
const
&
entrie
s
,
ImportPropertyMap
&
properties
,
std
::
vector
<
std
::
string
>&
missingTargets
);
...
...
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