Mx2cc is the command line compiler for monkey2. The actual executable is named differently depending on the OS:
The command line options for mx2cc are:
Valid commands are:
makeapp
- make an app. input should be a monkey2 file path.makemods
- make a set of modules. input should be a space separated list of module names, or nothing to make all modules.makedocs
- make the documentation for a set of modules. input should be a space separated list of module names, or nothing to make all modules.Valid options are:
clean
- rebuilds everything from scratch.verbose
- provides more information while building.target=
target - set target to desktop
(the default) or emscripten
.config=
config - set config to debug
(the default) or release
.apptype=
apptype set apptype to gui
(the default) or console
.