2.1 (2025-02-17)

Adding share directory environment/script variables

While releng-tool's previous releases included path helpers for a project's bin/include/lib directories (e.g. TARGET_INCLUDE_DIR), no helpers existed for a share path. This release introduces support for the following new variables:

Default CMAKE_MODULE_PATH support

CMake packages now populate a CMAKE_MODULE_PATH configuration by default. The value used for this option is a share-folder path (share/cmake/Modules) based on the configured LIBFOO_INSTALL_TYPE.

For example, a project configured to use the staging area may have the following path configured:

<root-dir>/output/staging/usr/share/cmake/Modules

CMake packages which install provided modules into the standard share path can be automatically used by other CMake dependent packages.

Usability improvements to local-sources

Two minor tweaks have been made towards the local-sources capability. For package-specific overrides, users can now include a package/ prefix as part of the package name. For example, projects would typically register a local-sources override for libfoo using:

releng-tool --local-sources libfoo:/mnt/code/libfoo
 (or)
releng-tool -L libfoo:/mnt/code/libfoo

With this release, the above example and below example will result in the same configuration applied:

releng-tool --local-sources package/libfoo:/mnt/code/libfoo
 (or)
releng-tool -L package/libfoo:/mnt/code/libfoo

This allows users to easily populate desired packages in a shell environment that supports completions.

Second, clearing all local-sources configurations can now be cleared using a single unset request. For example:

releng-tool --local-sources unset
 (or)
releng-tool -L unset