From 8948c9b7f793aa809bfc41f25e34224c8a2d43c5 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 29 Oct 2024 11:40:44 +0100 Subject: [PATCH] compiler=cl not necessary (#3886) --- .../tools/autotools/create_your_first_package_windows.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/tools/autotools/create_your_first_package_windows.rst b/examples/tools/autotools/create_your_first_package_windows.rst index f69762fbc23..0377e2c91b0 100644 --- a/examples/tools/autotools/create_your_first_package_windows.rst +++ b/examples/tools/autotools/create_your_first_package_windows.rst @@ -37,7 +37,9 @@ Besides these files, we will create a profile file: [conf] tools.microsoft.bash:subsystem=msys2 tools.microsoft.bash:path=C:\ws\msys64\usr\bin\bash - tools.build:compiler_executables={"c": "cl", "cpp": "cl"} + # since Conan 2.9, this "cl" compiler definition is not necessary + # by default for the 'compiler=msvc' + # tools.build:compiler_executables={"c": "cl", "cpp": "cl"} Note that you might need to adapt the path to the ``bash`` system of ``msys2``.