From f1367c8c51cacff745c77400c355cd038716f3ec Mon Sep 17 00:00:00 2001 From: Bartosz Kosiorek Date: Wed, 27 Feb 2019 10:33:20 +0100 Subject: cmGlobalGenerator: Remove unused code --- Source/cmGlobalGenerator.cxx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index c7b3591..eec18cd 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -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"); -- cgit v0.12