.TH CPPO 1 "December 4, 2010" "cppo User Manual" .SH NAME .PP cppo - cpp for OCaml. .SH SYNOPSIS .PP cppo [options] file* .SH DESCRIPTION .PP Cppo is an OCaml-friendly implementation of cpp, the C preprocessor. It can replace camlp4 for preprocessing OCaml files, using cpp style and syntax. It allows defining simple macros and file inclusion. .SH OPTIONS .TP .B -D \f[I]DEF\f[] Equivalent of interpreting `#define DEF' before processing the input .RS .RE .TP .B -U \f[I]IDENT\f[] Equivalent of interpreting `#undef IDENT' before processing the input .RS .RE .TP .B -I \f[B]DIR\f[] Add directory DIR to the search path for included files .RS .RE .TP .B -o \f[B]FILE\f[] Output file .RS .RE .TP .B -q Identify and preserve camlp4 quotations .RS .RE .TP .B -s Output line directives pointing to the exact source location of each token, including those coming from the body of macro definitions. This behavior is off by default. .RS .RE .TP .B -n Do not output any line directive other than those found in the input (overrides -s). .RS .RE .TP .B -version Print the version of the program and exit. .RS .RE .TP .B -help|--help Display this list of options .RS .RE .SH AUTHORS Sylvain Le Gall.