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
021c4b6f
Commit
021c4b6f
authored
Jun 07, 2015
by
Stephen Kelly
Browse files
cmMakefile: Simplify handling of CACHE_VARIABLES property.
parent
1981c971
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmMakefile.cxx
View file @
021c4b6f
...
...
@@ -4163,14 +4163,14 @@ const char *cmMakefile::GetProperty(const std::string& prop,
output
=
cmJoin
(
this
->
ListFileStack
,
";"
);
return
output
.
c_str
();
}
else
if
(
prop
==
"VARIABLES"
||
prop
==
"CACHE_VARIABLES"
)
else
if
(
prop
==
"CACHE_VARIABLES"
)
{
int
cacheonly
=
0
;
if
(
prop
==
"CACHE_VARIABLES"
)
{
cacheonly
=
1
;
}
output
=
cmJoin
(
this
->
GetDefinitions
(
cacheonly
),
";"
);
output
=
cmJoin
(
this
->
GetState
()
->
GetCacheEntryKeys
(),
";"
)
;
return
output
.
c_str
();
}
else
if
(
prop
==
"VARIABLES"
)
{
output
=
cmJoin
(
this
->
GetDefinitions
(),
";"
);
return
output
.
c_str
();
}
else
if
(
prop
==
"MACROS"
)
...
...
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