Usage: ocamldep.opt <options> <files>
Options are:
-absname Show absolute filenames in error messages
-no-absname Do not try to show absolute filenames in error messages (default)
-all Generate dependencies on all files
-allow-approx Fallback to a lexer-based approximation on unparsable files
-as-map Omit delayed dependencies for module aliases (-no-alias-deps -w -49)
-debug-map Dump the delayed dependency map for each map file
-I <dir> Add <dir> to the list of include directories
-H <dir> Add <dir> to the list of include directories
-nocwd Do not add current working directory to the list of include directories
-impl <f> Process <f> as a .ml file
-intf <f> Process <f> as a .mli file
-keywords <version+list> set keywords following the <version+list> spec (see ocamlc)
-map <f> Read <f> and propagate delayed dependencies to following files
-ml-synonym <e> Consider <e> as a synonym of the .ml extension
-mli-synonym <e> Consider <e> as a synonym of the .mli extension
-modules Print module dependencies in raw form (not suitable for make)
-native Generate dependencies for native-code only (no .cmo files)
-bytecode Generate dependencies for bytecode-code only (no .cmx files)
-one-line Output one line per file, regardless of the length
-open <module> Opens the module <module> before typing
-plugin <plugin> (no longer supported)
-pp <cmd> Pipe sources through preprocessor <cmd>
-ppx <cmd> Pipe abstract syntax trees through preprocessor <cmd>
-shared Generate dependencies for native plugin files (.cmxs targets)
-slash (Windows) Use forward slash / instead of backslash \ in file paths
-no-slash (Windows) Preserve any backslash \ in file paths
-sort Sort files according to their dependencies
-version Print version and exit
-vnum Print version number and exit
-args <file> Read additional newline separated command line arguments
from <file>
-args0 <file> Read additional NUL separated command line arguments from
<file>
-help Display this list of options
--help Display this list of options
Options (31)
| Option | Description | Source |
|---|---|---|
-absname | Show absolute filenames in error messages | help |
-no-absname | Do not try to show absolute filenames in error messages (default) | help |
-all | Generate dependencies on all files | help |
-allow-approx | Fallback to a lexer-based approximation on unparsable files | help |
-as-map | Omit delayed dependencies for module aliases (-no-alias-deps -w -49) | help |
-debug-map | Dump the delayed dependency map for each map file | help |
-I dir | Add <dir> to the list of include directories | help |
-H dir | Add <dir> to the list of include directories | help |
-nocwd | Do not add current working directory to the list of include directories | help |
-impl f | Process <f> as a .ml file | help |
-intf f | Process <f> as a .mli file | help |
-keywords version+list | set keywords following the <version+list> spec (see ocamlc) | help |
-map f | Read <f> and propagate delayed dependencies to following files | help |
-ml-synonym e | Consider <e> as a synonym of the .ml extension | help |
-mli-synonym e | Consider <e> as a synonym of the .mli extension | help |
-modules | Print module dependencies in raw form (not suitable for make) | help |
-native | Generate dependencies for native-code only (no .cmo files) | help |
-bytecode | Generate dependencies for bytecode-code only (no .cmx files) | help |
-one-line | Output one line per file, regardless of the length | help |
-open module | Opens the module <module> before typing | help |
-plugin plugin | (no longer supported) | help |
-pp cmd | Pipe sources through preprocessor <cmd> | help |
-ppx cmd | Pipe abstract syntax trees through preprocessor <cmd> | help |
-shared | Generate dependencies for native plugin files (.cmxs targets) | help |
-slash | (Windows) Use forward slash / instead of backslash \ in file paths | help |
-no-slash | (Windows) Preserve any backslash \ in file paths | help |
-sort | Sort files according to their dependencies | help |
-version | Print version and exit | help |
-vnum | Print version number and exit | help |
-help | Display this list of options | help |
--help | Display this list of options | help |