Installation

resources supports Windows and macOS.

Dependencies are sourced via VCPKG

Building

  1. Get submodules

git submodule update --init
  1. At the top level of your project (alongside your CMakeLists.txt file) create a file called: CMakeUserPresets.json

  2. Copy the contents of the CMakePresets.json file into CMakeUserPresets.json and delete everything from the configurePresets array

  3. 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

  1. Configure and building using CMakeLists provided in repository root.

Available build options

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.

See Guides and Tools for usage information