https://github.com/Kitware/CMake
Raw File
Tip revision: 037975ef69a0e889f9c17e5e6e6fb87111dfd9df authored by Brad King on 15 February 2023, 14:34:02 UTC
CMake 3.26.0-rc3
Tip revision: 037975e
CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.rst
CMAKE_SKIP_INSTALL_ALL_DEPENDENCY
---------------------------------

Don't make the ``install`` target depend on the ``all`` target.

By default, the ``install`` target depends on the ``all`` target.  This
has the effect, that when ``make install`` is invoked or ``INSTALL`` is
built, first the ``all`` target is built, then the installation starts.
If ``CMAKE_SKIP_INSTALL_ALL_DEPENDENCY`` is set to ``TRUE``, this
dependency is not created, so the installation process will start immediately,
independent from whether the project has been completely built or not.
back to top