Compiler with C++ backend

cppcmc is a command-line compiler for Windows x64. It compiles Cmajor code to low-level C++ code that is then compiled to native code using g++. Libraries are generated by calling ar and programs are linked by calling g++.

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

Long option Short option IDE command Description
--help -h Print help and exit.
--verbose -v Be verbose.
--quiet -q Be quiet, only return exit code.
‑‑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.