https://github.com/Kitware/CMake
Raw File
Tip revision: d566bd962df5b1bf0ec5d16e9e7affe592b8b3eb authored by Brad King on 28 July 2022, 15:46:12 UTC
CMake 3.23.3
Tip revision: d566bd9
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 :variable:`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