Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lukka
CMake
Commits
f1367c8c
Commit
f1367c8c
authored
Feb 27, 2019
by
Bartosz Kosiorek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmGlobalGenerator: Remove unused code
parent
d1558fbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
Source/cmGlobalGenerator.cxx
Source/cmGlobalGenerator.cxx
+0
-11
No files found.
Source/cmGlobalGenerator.cxx
View file @
f1367c8c
...
...
@@ -1766,17 +1766,6 @@ int cmGlobalGenerator::TryCompile(int jobs, const std::string& srcdir,
std
::
string
newTarget
;
if
(
!
target
.
empty
())
{
newTarget
+=
target
;
#if 0
# if defined(_WIN32) || defined(__CYGWIN__)
std::string tmp = target;
// if the target does not already end in . something
// then assume .exe
if(tmp.size() < 4 || tmp[tmp.size()-4] != '.')
{
newTarget += ".exe";
}
# endif // WIN32
#endif
}
std
::
string
config
=
mf
->
GetSafeDefinition
(
"CMAKE_TRY_COMPILE_CONFIGURATION"
);
...
...
Write
Preview
Markdown
is supported
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