info#

Show the resolved build configuration and available LIBRA targets.

clibra info                # show everything (default)
clibra info --targets      # available targets only
clibra info --build        # build configuration only

Requires a prior clibra build to have configured the build directory. Output is paged through less -rFX when it exceeds the terminal height.

This is the first command to run when a subcommand fails because a target is unavailable — the Available LIBRA targets section shows each target’s status and, for unavailable targets, the exact reason reported by the build system.

Output sections#

Build configuration

Build directory path, generator, and selected CMAKE_* cache variables: build type, compilers, flags, install prefix, project name, and compile-commands export status.

LIBRA feature flags

All LIBRA_* cache variables. Non-default values are highlighted.

Available LIBRA targets

All LIBRA-managed targets grouped by feature area (Tests, Docs, Coverage, Analysis). Each entry shows availability (YES / NO) and, for unavailable targets, the reason.

CMake equivalent#

clibra info reads the CMakeCache.txt directly and runs the help-targets build target to enumerate target availability. There is no single cmake equivalent, but the same information can be obtained with:

cmake --build --preset <n> --target help-targets
cmake --build --preset <n> --target help-vars
cat build/<n>/CMakeCache.txt | grep -E "^(CMAKE_|LIBRA_)"

Flag reference#

clibra info#

Show resolved build configuration, available targets.

Requires a prior clibra build to have configured the build directory. Output is paged through less -rFX when the content exceeds the terminal height. Color output follows the global --color setting regardless of the TTY, to ensure correct display through the pager.

Sections:

  • Build configuration: build directory path, generator, and selected CMAKE_* cache variables (build type, compilers, flags, install prefix, project name, compile-commands export).

  • LIBRA feature flags: all LIBRA_ cache variables with non-default values highlighted.

  • Available LIBRA targets: grouped by feature area (Tests, Docs, Coverage, Analysis) with per-target availability and, for unavailable targets, the reason reported by the build system.

Usage: clibra info [OPTIONS]

Options:#

  • -a, --all — Show everything: {build configuration, LIBRA targets}

    Default value: true

  • -t, --targets — Show LIBRA target info only

  • --build — Show build configuration only