Quickstart

After picking your LIBRA flavor as described here, proceed onward to the appropriate section below.

Build System Middleware

In this flavor, LIBRA is a “backend” for a supported build system/package manager. Supported drivers currently are:

Stand-Alone Framework

  1. Add the libra repository as a sub-module libra/ in your repo.

  2. Link libra/cmake/project.cmake -> CMakeLists.txt in the root of your repo. On linux:

    ln -s libra/cmake/project.cmake CmakeLists.txt
    
  3. Create cmake/project-local.cmake in the root of your project repo. See project-local.cmake: How To Hook Into LIBRA for more details.

After you hook in, you can do:

mkdir build && cd build
cmake ..
make

as you would expect.