summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/compiler-object-run_command.md
Commit message (Collapse)AuthorAgeFilesLines
* Updated version number for new release.0.46.0Jussi Pakkanen2018-04-231-10/+0
|
* Allow passing a compiler object to run_command()Evgenii Shatokhin2018-03-061-0/+10
Sometimes it is needed to run the current compiler with specific options not to compile a file but rather to obtain additional info. For example, GCC has several -print-* options to query it about the paths to different libraries and development files. One use case is to get the location of development files for GCC plugins, which is not easily obtainable by other means: gcc -print-file-name=plugin For this purpose, it would be convenient if the compiler object returned by meson.get_compiler(lang) could be used in run_command() directly. This commit implements it. Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>