summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-26 17:05:38 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-26 17:22:58 (GMT)
commit9019537670003d8d35b6d838c7b22a751b4119b2 (patch)
tree136e16ffb0f94cf56bd65e49fbbff97d690cce76 /Help/release
parentd45b4f59a438477106fa3cf6919f6401cda57302 (diff)
downloadCMake-9019537670003d8d35b6d838c7b22a751b4119b2.zip
CMake-9019537670003d8d35b6d838c7b22a751b4119b2.tar.gz
CMake-9019537670003d8d35b6d838c7b22a751b4119b2.tar.bz2
MSYS/MinGW Makfiles: Select the compiler occurring first in PATH
Extend the change from commit e01990999a (Ninja: On Windows, select the compiler occurring first in PATH, 2020-04-17, v3.18.0-rc1~291^2) to apply to the MSYS/MinGW Makefiles generators too. Drop the implied `gcc` and `g++` default compilers. This allows MinGW/Clang environments to work out of the box. Inspired-by: Mehdi Chinoune <mehdi.chinoune@hotmail.com> Fixes: #23542
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/mingw-compiler-PATH.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/mingw-compiler-PATH.rst b/Help/release/dev/mingw-compiler-PATH.rst
new file mode 100644
index 0000000..7452da0
--- /dev/null
+++ b/Help/release/dev/mingw-compiler-PATH.rst
@@ -0,0 +1,7 @@
+mingw-compiler-PATH
+-------------------
+
+* The :generator:`MSYS Makefiles` and :generator:`MinGW Makefiles`
+ generators, when a compiler is not explicitly specified, now select
+ the first compiler (of any name) found in directories listed by the
+ ``PATH`` environment variable.