$MODULE messages                     # messages.hh + messages.cpp
$MODULE messages HEADER hpp SOURCE cc
$MODULE messages NOHEADER            # messages.cpp only, self-contained
$MODULE messages INLINE              # messages.hh only, all definitions inline
  • module_name — letters, digits, _ and -. Without $MODULE the module is called NONAME; mstring -m name overrides it either way.
  • extension — letters, digits, _ and + (hh, hpp, h++, cc).
  • NOSOURCE is deprecated (a warning): it writes declarations without definitions. Use INLINE.

Options may come in any order; the last one about the same file wins. INLINE together with NOHEADER is an error.

Semantics: Reference › $MODULE.