diff options
author | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2019-02-27 09:33:20 (GMT) |
---|---|---|
committer | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2019-03-04 09:44:14 (GMT) |
commit | f1367c8c51cacff745c77400c355cd038716f3ec (patch) | |
tree | 6b3cf64dd37272091e10848e5d28bee0e9e63f5a | |
parent | d1558fbf3ab770b8691a8548a297d1c48fe666eb (diff) | |
download | CMake-f1367c8c51cacff745c77400c355cd038716f3ec.zip CMake-f1367c8c51cacff745c77400c355cd038716f3ec.tar.gz CMake-f1367c8c51cacff745c77400c355cd038716f3ec.tar.bz2 |
cmGlobalGenerator: Remove unused code
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 11 |
1 files changed, 0 insertions, 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"); |