Developer Documentation Library > Scripting > mrPrePro preprocessor > mrPrePro options
 
mrPrePro options
Command line options
-h [ --help ]
Display these options.
-v [ --version ]
Display the version number.
-c [ --copyright ]
Display out a copyright statement.
--config-file <filepath>
Specify a config file (alternatively: @filepath).
Options that are allowed in a config file
-D [ --define ] <macro>[=[<value>]]
Specify a macro to define.
-F [ --forceinclude ] <filepath>
Force inclusion of the given file.
-I [ --include ] <filepath>
Specify an additional include directory.
-n [ --nesting ] <integer>
Specify a new maximal include nesting depth.
-o [ --output ] <filepath>
Specify a file to use for output instead of stdout.
-P [ --predefine ] <macro>[=[<value>]]
Specify a macro to predefine.
-S [ --sysinclude ] <path>
Specify an additional system include directory.
-U [ --undefine ] <macro>
Specify a macro to undefine.
-x [ --basedir ]
Show current directory for the top level.
-y [ --concatstr ]
Concatenate string literals in preprocessed output.
If the #include directive is set for the user and/or system, and the working directory is also used, the parameters for the -I and -S options in the configuration file should be similar to the following:
-IC:\Test
-I.
Extended options
These options can be defined on the command line or in a config file.
--c99
Enable C99 mode (implies --variadics).
--c++0x
Enable C++0x support (implies --variadics).
-t [ --traceto ] <filepath>
Output trace info to a file or to stderr [-].
--variadics
Enable certain C99 extensions in C++ mode.
-z [ --comments ]
Include comments in preprocessed output.
See
Running mrPrePro
mrPrePro preprocessor