Skip to content
GitLab
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
f1d845ae
Commit
f1d845ae
authored
Aug 27, 2016
by
Stephen Kelly
Browse files
Convert: Remove obsolete HOME and START enum values
parent
0a98c74c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/cmOutputConverter.cxx
View file @
f1d845ae
...
...
@@ -52,14 +52,6 @@ std::string cmOutputConverter::ConvertToRelativePath(
std
::
string
result
;
switch
(
relative
)
{
case
HOME
:
result
=
this
->
ConvertToRelativePath
(
this
->
GetState
()
->
GetSourceDirectory
(),
source
);
break
;
case
START
:
result
=
this
->
ConvertToRelativePath
(
this
->
StateSnapshot
.
GetDirectory
().
GetCurrentSource
(),
source
);
break
;
case
HOME_OUTPUT
:
result
=
this
->
ConvertToRelativePath
(
this
->
GetState
()
->
GetBinaryDirectory
(),
source
);
...
...
Source/cmOutputConverter.h
View file @
f1d845ae
...
...
@@ -40,8 +40,6 @@ public:
*/
enum
RelativeRoot
{
HOME
,
START
,
HOME_OUTPUT
,
START_OUTPUT
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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