mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
cmGlobalGenerator: Remove unused code
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user