TerseLambda can be used by DDS. A pre-made DDS repo for TerseLambda can be found at https://github.com/Quincunx271/dds-repos. See this example for a complete example. These steps assume you wish to use that repo:
-
Add the repo to DDS:
dds pkg repo add "https://quincunx271.github.io/dds-repos/public"
-
Tell DDS that you want to use the package:
// In your package.json5 depends: [ '[email protected]' ] // In your library.json5 uses: [ 'quincunx271/terse-lambda' ]
CMake isn't a package manager, but TerseLambda can be consumed via the standard ways of
using CMake packages. That is, you can use TerseLambda via add_subdirectory(...)
and also
via find_package(tl ${VERSION} REQUIRED)
.
See the FetchContent example and the find_package example for complete examples.