From 3e9adbd2c8f6fbd0be15540ec819e334e6d26da6 Mon Sep 17 00:00:00 2001 From: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Date: Fri, 2 Dec 2022 15:48:57 +0100 Subject: [PATCH] document curation of compiler executables paths in AutotoolsToolchain --- reference/conanfile/tools/gnu/autotoolstoolchain.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reference/conanfile/tools/gnu/autotoolstoolchain.rst b/reference/conanfile/tools/gnu/autotoolstoolchain.rst index d2631ebf9926..9fa1d7078a08 100644 --- a/reference/conanfile/tools/gnu/autotoolstoolchain.rst +++ b/reference/conanfile/tools/gnu/autotoolstoolchain.rst @@ -204,11 +204,15 @@ conf - ``tools.build:compiler_executables`` (new in version 1.55) dict-like Python object which specifies the compiler as key and the compiler executable path as value. Those keys will be mapped as follows: + * ``asm``: will set ``CCAS`` in *conanautotoolstoolchain.sh|bat* script. * ``c``: will set ``CC`` in *conanautotoolstoolchain.sh|bat* script. * ``cpp``: will set ``CXX`` in *conanautotoolstoolchain.sh|bat* script. * ``cuda``: will set ``NVCC`` in *conanautotoolstoolchain.sh|bat* script. * ``fortran``: will set ``FC`` in *conanautotoolstoolchain.sh|bat* script. + Moreover if build machine is Windows and values are paths, they will be curated during this mapping + (ie converted to unix path, and spaces removed if possible by converting folders to short names). + Customizing the environment +++++++++++++++++++++++++++