KMComp is the command-line compiler included in Keyman Developer.
The following parameters are available:
kmcomp [-s] [-d] [-pKeymanPath] infile [outfile.kmx [error.log]]
infile can be either a .kmn file or .kps file
outfile.kmx is optional, and can only be specified for a .kmn infile
error.log is optional, and can only be specified when outfile.kmx is specified.
-d include debug information in the compiled file
-s silent; don't display unnecessary information on screen
-p set Keyman program path to KeymanPath (when building a redistributable installer)