tipi-build / cmake-tipi-provider Goto Github PK
View Code? Open in Web Editor NEWAutomatic build caching for CMake FetchContent
License: MIT License
Automatic build caching for CMake FetchContent
License: MIT License
Currently it's difficult to include the SBOM feature without duplicating the code of it.
SBOM feature can be used via include(sbom)
Plain FetchContent without cmake-tipi-provider is doing an add_subdirectory
which makes available all targets to the main project when FetchContent_MakeAvailable(Boost)
is called.
In the case of cmake-tipi-provider a call to find_package(boost_filesystem CONFIG REQUIRED)
is required because we do the compilation in another CMake build tree and perform an installation to be able to speed up the build and consume cached installed/ trees.
It's possible to bridge both world and provide the ease of FetchContent with the speed of installed/ cache pack without requiring the source code to be always available (cloning the source code of all dependencies for a build is not desirable as it is slow to clone big monorepos like boost, grpc and others and is exactly the value we can provide with FetchContent)
To make this fully transparent we should release and make infer installed cmake packages #564 available, and record installed packages config exported target by parsing out cmake package config file.
Then we could load this information inside cmake-tipi-provider when we resolve the dependency.
Users of FetchContent with cmake-tipi-provider are not obliged to call find_package
to load the targets of the FetchContent'ed installed project.
FetchContent works also on projects that don't have install targets, in this configuration tipi could just fallaback to a normal build which would require the source fetching and use the cache.
Detect that there is no installed target and use just a BUILD cache. Which is less performant but would work similar to FetchContent a bit faster for projects that have no install targets.
Projects without install target can be cached with the cmake-tipi-provider.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.