Installation
resources supports Windows and macOS.
Dependencies are sourced via VCPKG
Building
Get submodules
git submodule update --init
At the top level of your project (alongside your CMakeLists.txt file) create a file called: CMakeUserPresets.json
Copy the contents of the CMakePresets.json file into CMakeUserPresets.json and delete everything from the configurePresets array
Add a new preset into the configurePresets array:
{
"name": "local",
// inherit all of the settings from this preset in CMakePresets.json
"inherits": "carbon_windows_vcpkg_vs",
"environment": {
// put any other environment variables that you want here
},
"cacheVariables": {
// put any extra cache variables that you want in here
}
}
Note
set inherits to carbon_osx_vcpkg for MacOS development
Configure and building using CMakeLists provided in repository root.
Cmake option |
Description |
|---|---|
BUILD_DOCUMENTATION |
Build the documentation. |
DEV_FEATURES |
Setting to true will build the extended CLI. This version of the CLI exposes more operations. |