Go to the first, previous, next, last section, table of contents.

m3build Options

The following command line options are interpreted by m3build:

clean
Specifies that all compiled code is to be removed from the build directory.
-b dir
Use the <dir> configuration and build in the directory named dir. The default build directory is configured into m3build when it is installed. For example,
m3build -b SPARC
will build using the SPARC configuration instead of the default.
-d dir
Change the current directory to dir before doing anything. This option is most useful when you're editing in the src subdirectory; to compile, issue the following command:
m3build -d ..
-S
Generate derived objects regardless of the current directory's name. Normally, if the current working directory is src, m3build will refuse to build derived objects.
-O
Read the m3overrides file if present.
-v
Be verbose, i.e. echo the quake comand before executing it.
-n
Operations that invoke external programs, e.g. the Modula-3 compiler, are processed but the external programs are not executed.
-V
This option causes all the directories in which m3makefiles are read to be echoed to the standard output. It can be helpful in debugging a complex package structure.


Go to the first, previous, next, last section, table of contents.