Compiler with CM/MASM backend

cmcmc is a command-line compiler for Windows x64. It compiles Cmajor code to x64 assembly code. Assembly code is compiled to object code, libraries are generated and programs are linked by calling MSBuild.

Usage: cmcmc [options] { project.cmp | solution.cms }

Long option Short option IDE command Description
--help -h Print help and exit.
--verbose -v Be verbose.
‑‑config=CONFIG ‑c=CONFIG Debug and Release buttons Build usig CONFIG configuration. CONFIG can be "debug" or "release". Default optimization level for debug build is 0 and for release build is 2.
‑‑opt=LEVEL -O=LEVEL Optimization level buttons 0..3 Set release mode optimization level to LEVEL (0-3).
--clean -e Build | Clean project/solution Clean given projects and solutions.
--rebuild -r Build | Rebuild project/solution Rebuild given projects and solutions.
‑‑disable‑warnings=WARNING_LIST ‑w=WARNING_LIST Build | Settings... | Disabled warnings Disable warning messages for specified warnings in WARNING_LIST that is a semicolon-separated list of warning numbers.
--define SYMBOL ‑D SYMBOL Define a conditional compilation symbol SYMBOL.
--single-threaded -s Build | Settings... | Compile using only one thread Compile projects and source files in projects using a single thread.
--all -a Build all dependencies.