build
Compile the project.
Description
Compiles the C project defined in Coffee.toml. Delegates to make for the actual compilation, passing the project directory and build flags.
Usage
coffee build [options]
Options
--release- Build in release mode (passesRELEASE=1to make)--debug- Build with debug symbols (passesDEBUG=1to make)-j, --jobs N- Number of parallel jobs (passed as-jN)--target-dir DIR- Output directory for artifacts
Implementation Notes
- Finds
Coffee.tomlin current directory or parent directories - Runs
make -C <project_dir>withRELEASE=1/DEBUG=1flags and-jNfor parallel jobs - Feature flags are passed as
CFLAGS_EXTRA=-DFEATURE_<NAME>to make - Output directory is determined by the Makefile (typically
build/); use--target-dirto override
Need help?
Please wait: the project is still pre-alpha!
Cup of Coffee is an open source project inspired by Cargo, Rustup Crates, and Conda-forge.