summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-19 19:29:35 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-19 19:29:35 (GMT)
commita429e4b9b1a56470c6c119a077910d2f090c21d0 (patch)
treef0f5010702e49035313f4c9db2e1a10ccd33f553 /Source/CTest
parent5031934fb05181eb925b81f6747feaa8ffa27787 (diff)
downloadCMake-a429e4b9b1a56470c6c119a077910d2f090c21d0.zip
CMake-a429e4b9b1a56470c6c119a077910d2f090c21d0.tar.gz
CMake-a429e4b9b1a56470c6c119a077910d2f090c21d0.tar.bz2
CYGWIN: Drop pre-2.8.4 compatibility mode CMAKE_LEGACY_CYGWIN_WIN32
Prior to CMake 2.8.4 (released in 2011), we defined `WIN32` on CYGWIN. That was removed, but an undocumented `CMAKE_LEGACY_CYGWIN_WIN32` compatibility mode was left to help projects transition. Only projects that do not require at least 2.8.4 as their minimum CMake version need the compatibility mode. We've also long warned about projects that do not require at least 2.8.12, so it is now reasonable to remove the legacy compatibility mode.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index 5a66f82..ee06b29 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -326,10 +326,6 @@ int cmCTestScriptHandler::ReadInScript(const std::string& total_script_arg)
this->Makefile->AddDefinition("CTEST_SCRIPT_ARG", script_arg);
}
-#if defined(__CYGWIN__)
- this->Makefile->AddDefinition("CMAKE_LEGACY_CYGWIN_WIN32", "0");
-#endif
-
// set a callback function to update the elapsed time
this->Makefile->OnExecuteCommand([this] { this->UpdateElapsedTime(); });