diff options
author | Brad King <brad.king@kitware.com> | 2004-08-05 14:17:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-08-05 14:17:26 (GMT) |
commit | 46418e70a3a20744ad7ede40bfdbc41a67646831 (patch) | |
tree | eb64c4784ef14ae2fdbed92c38e9d8be55ab773a /Source/cmGlobalGenerator.cxx | |
parent | aa1b32218a0664242ebd2ba988194f98026b88ac (diff) | |
download | CMake-46418e70a3a20744ad7ede40bfdbc41a67646831.zip CMake-46418e70a3a20744ad7ede40bfdbc41a67646831.tar.gz CMake-46418e70a3a20744ad7ede40bfdbc41a67646831.tar.bz2 |
BUG#427: Generated makefiles need to have targets with canonical names for each executable and library target in order for try-compiles to work correctly when specifying the target.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 2ab00a6..e739ee9 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -479,15 +479,6 @@ int cmGlobalGenerator::TryCompile(const char *, const char *bindir, { makeCommand += " "; makeCommand += target; -#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] != '.') - { - makeCommand += ".exe"; - } -#endif // WIN32 } else { |