Precompiles a header file from selected source files.
-precompile file | dir | ""
file
If specified, the precompiled header name.
dir
If specified, the directory to store the header file.
""
If "" is specified, write header file to location specified in source code. If neither argument is specified, the header file name is derived from the source file name.
The driver determines whether to precompile a file based on its extension. The option
-precompile filesource
is equivalent to
-c -o filesource