CLI
The Fabricate CLI is broken into subcommands and flags:
- -h, --help
Displays help with available flag, subcommand, and positional value parameters.
- --version
Displays the program version string.
- --builddir BUILDDIR
Specify the build directory path (default: ./build) [Environment Variable: BUILDDIR].
configure
Configures the build directory (and downloads dependencies) with the given arguments.
- --config CONFIG
Specify the configuration file path (default: fab.lua).
- --prefix PREFIX
Specify installation prefix (default: /usr).
- -o OPTION, --option OPTION
Specify the value of a user defined option (an option defined in the configuration).
- --depdir DEPENDENCY_DIR
Specify the directory of an already installed dependency. The format is dependecy=directory.
build
Build the project using ninja, this is equivalent to calling ninja -C <builddir>
.
install
Install the output files specified in the configuration. Files are installed in the format of <destdir?><prefix>/<install_path>
.
- –destdir:
Specify the destdir of the install [Environment Variable: DESTDIR].