Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CMake] Use CMAKE_MSVC_RUNTIME_LIBRARY to select a CRT type instead o…
…f regexp replacing https://bugs.webkit.org/show_bug.cgi?id=248289 Reviewed by Don Olmstead. Regexp replacing has been used to change a CRT type for Windows. CMake 3.15 introduced CMAKE_MSVC_RUNTIME_LIBRARY for it. <https://cmake.org/cmake/help/latest/variable/CMAKE_MSVC_RUNTIME_LIBRARY.html> There was a code to remove _DEBUG macro definition from CMAKE_{C,CXX}_FLAGS* variables. However, those variables don't include it. _DEBUG macro is automatically defined by -MDd and -MTd switches. Removed the code. Bumped cmake_minimum_required version to 3.16 to use target_precompile_headers (bug#248202). * CMakeLists.txt: Source/JavaScriptCore/CMakeLists.txt: * Source/WTF/CMakeLists.txt: Source/WebCore/CMakeLists.txt: * Source/WebKitLegacy/CMakeLists.txt: * Source/cmake/OptionsAppleWin.cmake: Source/cmake/OptionsMSVC.cmake: * Source/cmake/OptionsWinCairo.cmake: Canonical link: https://commits.webkit.org/257053@main
- Loading branch information
Showing
8 changed files
with
14 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters