‑‑dependencies
Syntax
‑‑dependencies[=[i|m|n][s][l|w][b]] {filename|directory|+}Parameters
| Lists only the names of files |
| Lists in makefile style (multiple rules) |
| Lists in makefile style (one rule) |
| Suppresses system files |
| Uses the locale encoding instead of UTF-8 |
| Uses little-endian UTF-16 instead of UTF-8 |
| Uses a Byte Order Mark (BOM) in UTF-8 output |
| Gives the same output as |
See also Rules for specifying a filename or directory as parameters.
Description
Use this option to make the linker list the names of the linker configuration, object, and library files opened for input into a file with the default filename extension i.
Example
If ‑‑dependencies or ‑‑dependencies=i is used, the name of each opened input file, including the full path, if available, is output on a separate line. For example:
c:\myproject\foo.o d:\myproject\bar.o
If ‑‑dependencies=m is used, the output is in makefile style. For each input file, one line containing a makefile dependency rule is produced. Each line consists of the name of the output file, a colon, a space, and the name of an input file. For example:
a.out: c:\myproject\foo.o a.out: d:\myproject\bar.o
Caution
This option is not available in the IDE.