$MODULE messages HEADER hpp SOURCE cc
FormFilesNotes
(default)name.hh, name.cppdeclarations in the header, definitions in the source
HEADER ext, SOURCE extname.extother extensions
NOHEADERname.cppthe source carries the declarations too and compiles on its own; callers declare what they use
INLINEname.hhevery definition inline in the header — see INLINE modules
NOSOURCEname.hhdeprecated: declarations without definitions (a warning)
  • The name defaults to NONAME; mstring -m name overrides the file's.
  • The files go to the working folder, or to mstring -O folder.
  • INLINE with NOHEADER is an error.