Here are options that are available from the command line.
modes: (default: -build)
-build compile and link -ship install package -clean delete derived files -find locate source files
compile options: (default: -g -w1)
-g produce symbol table information for debugger -O optimize code -A disable code generation for assertions -once don't recompile to improve opaque object code -w0 .. -w3 limit compiler warning messages -Z generate coverage analysis code
program and library options: (default: -o prog)
-c compile only, produce no program or library
-a <foo> build library <foo> -o <foo> build program <foo> -skiplink skip the final link step
messages: (default: -why)
-silent produce no diagnostic output -why explain why code is being recompiled -commands list system commands as they are performed -verbose list internal steps as they are performed -debug dump internal debugging information
information and help:
-help print this help message -? print this help message -version print the version number header -config print the version number header
misc:
-keep preserve intermediate and temporary files -times produce a dump of elapsed times -override include the ".m3overrides" file -x include the ".m3overrides" file -D<symbol> define <symbol> with the value TRUE -D<sym>=<val> define <sym> with the value <val>
-console produce a Windows CONSOLE subsystem program -gui produce a Windows GUI subsystem program -windows produce a Windows GUI subsystem program
See cm3 also the Introductory Tutorial for
more information.