meson/mesonbuild/cmake
Paolo Bonzini 7639b70796 cmake: handle arguments in the [binaries] section of the machine file
Sometimes, the machine file can include compiler command line options,
in order to pick the correct multilib.  For example, Meson uses "$cc
--print-search-dirs" to find the library search path, where $cc is the
cc from the machine file.  Because the outputs of "gcc -m32
--print-search-dirs" and "gcc --print-search-dirs" are different, this
only works if you have

   [binaries]
   cc = ['gcc', '-m32']

in the machine file.  Right now, however, the cmake module assumes that
the compiler listed in the machine file is either a compiler, or a
"launcher" followed by the compiler.  Check if the second argument
starts with a slash (for Microsoft-like compilers) or a dash (for
everyone else), and if so presume that the CMAKE_*_COMPILER_LAUNCHER
need not be defined.
2021-10-08 20:09:43 +02:00
..
data Fix misspells 2021-01-13 12:53:10 -05:00
__init__.py cmake: select correct generator in toolchain.py 2021-05-30 16:33:09 +02:00
client.py mass rewrite of string formatting to use f-strings everywhere 2021-03-04 17:16:11 -05:00
common.py Add Visual Studio 2012/2013 backends (#8803) 2021-06-22 21:00:23 +03:00
executor.py remove double import 2021-10-04 16:29:31 -04:00
fileapi.py pylint: turn on superflous-parens 2021-08-31 16:28:54 -04:00
generator.py cmake: CMakeTraceParser improvements 2021-05-29 13:20:25 +02:00
interpreter.py semicolons are not needed in python 2021-09-14 15:50:28 -04:00
toolchain.py cmake: handle arguments in the [binaries] section of the machine file 2021-10-08 20:09:43 +02:00
traceparser.py pylint: turn on superflous-parens 2021-08-31 16:28:54 -04:00