Added a command-line option to print the include path
I'm not totally clear yet if the include path is or should be different to the module path, but I think it will become clear as I get KRoC compiling.
This commit is contained in:
parent
923b9700d8
commit
df21bf23ae
3
Main.hs
3
Main.hs
|
@ -73,12 +73,13 @@ optionsNoWarnings =
|
|||
, Option [] ["external-link"] (ReqArg optCompilerLinkFlags "FLAGS") "link flags for C/C++ compiler"
|
||||
, Option [] ["run-indent"] (NoArg $ optRunIndent) "run indent on source before compilation (will full mode)"
|
||||
, Option [] ["frontend"] (ReqArg optFrontend "FRONTEND") "language frontend (options: occam, rain)"
|
||||
, Option [] ["include-path"] (NoArg $ optPrintPath tockIncludeDir) "print include path"
|
||||
, Option [] ["mode"] (ReqArg optMode "MODE") "select mode (options: flowgraph, lex, html, parse, compile, post-c, full)"
|
||||
, Option [] ["module-path"] (NoArg $ optPrintPath tockModuleDir) "print module path"
|
||||
, Option ['c'] ["no-main"] (NoArg optNoMain) "file has no main process; do not link either"
|
||||
, Option ['o'] ["output"] (ReqArg optOutput "FILE") "output file (default \"-\")"
|
||||
, Option [] ["sanity-check"] (ReqArg optSanityCheck "SETTING") "internal sanity check (options: on, off)"
|
||||
, Option ['I'] ["search-path"] (ReqArg optSearchPath "PATHS") "paths to search for #INCLUDE, #USE"
|
||||
, Option ['I'] ["add-to-search-path"] (ReqArg optSearchPath "PATHS") "paths to search for #INCLUDE, #USE"
|
||||
, Option [] ["occam2-mobility"] (ReqArg optClassicOccamMobility "SETTING") "occam2 implicit mobility (EXPERIMENTAL) (options: on, off)"
|
||||
, Option [] ["usage-checking"] (ReqArg optUsageChecking "SETTING") "usage checking (options: on, off)"
|
||||
, Option [] ["unknown-stack-size"] (ReqArg optStackSize "BYTES")
|
||||
|
|
Loading…
Reference in New Issue
Block a user