Mercurial > ~dholland > hg > tradcpp > index.cgi
changeset 123:9f479b52364a
Add a bunch more options I forgot earlier (!)
In case anyone's wondering, the crazy family of include path options
comes from gcc.
author | David A. Holland |
---|---|
date | Tue, 11 Jun 2013 19:02:33 -0400 |
parents | 64c4de3709de |
children | 3ad1cd80f5a0 |
files | tradcpp.1 |
diffstat | 1 files changed, 96 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tradcpp.1 Tue Jun 11 18:32:41 2013 -0400 +++ b/tradcpp.1 Tue Jun 11 19:02:33 2013 -0400 @@ -161,6 +161,10 @@ .Fl MM but skip system headers. Not implemented. +.It Fl MF Ar file +Send dependency output to the named file instead of the default +location. +Not implemented. .It Fl MG When generating dependency information, assume that missing files are generated instead of failing. @@ -171,6 +175,88 @@ .Xr make 1 from choking if an include file is removed. Not implemented. +.It Fl MQ Ar target +Same as +.Fl MT +except that any +.Xr make 1 +metacharacters appearing in the target are escaped. +.It Fl MT Ar target +Set the name of the +.Xr make 1 +target appearing in the generated dependency information. +The default is the name of the input file with its suffix replaced +with the suffix for object files, normally +.Pa .o . +.\" If this option is given more than once, all named targets will +.\" be emitted. +.\" (The current operating mode framework doesn't support that.) +.El +.Ss More Include Path Options +.Bl -tag -width bubblebabble +.It Fl idirafter Ar path +Add the specified path to the +.Dq afterwards +include path. +This path is searched after all directories specified with +.Fl I +and the standard system directories. +Directories on this path are treated as containing system include +files. +.It Fl imacros Ar file +Read in +.Ar file +prior to reading the main input file, and preprocess it, but throw +away the output and retain only the macro definitions. +.It Fl include Ar file +Read in and preprocess +.Ar file +prior to reading the main input file. +.It Fl iprefix Ar prefix +Set the path prefix used with the +.Fl iwithprefix +option. +.It Fl iquote Ar path +Add +.Ar path +to the list of directories searched for include directives written +with quotes. +This list is not searched for include directives written with angle +brackets. +.It Fl iremap Ar string:replacement +Substitute +.Ar replacement +for +.Ar string +in the +.Dv __FILE__ +built-in macro. +Not supported. +.It Fl isysroot Ar path +Use +.Ar path +as the +.Dq system root , +that is, the directory under which the standard system paths are found. +.It Fl isystem Ar path +Add +.Ar path +to the list of system include directories. +This list is searched after the list given with +.Ar I . +Files found on this path are treated as system headers. +.It Fl iwithprefix Ar dir +Splice +.Ar dir +onto the prefix given with +.Fl iprefix +and add this directory as if it were specified with +.Fl idirafter . +.It Fl iwithprefixbefore +Like +-Fl iwithprefix +but adds the result as if it were specified with +.Fl I . .El .Ss Diagnostic Options .Bl -tag -width bubblebabble @@ -223,6 +309,16 @@ This option is accepted for compatibility with .Xr gcc 1 and ignored. +.It Fl x Ar lang +Adjust the preprocessor for the given language. +The only values accepted for +.Ar lang +are +.Dq assembler-with-cpp +and +.Dq c , +neither of which have any effect on the behavior of +.Nm . .El .Sh FILES The default list of directories searched for include files is: