https://github.com/Kitware/CMake
Raw File
Tip revision: 614ebb73752bf084eda313e222a12f5302a1121c authored by Brad King on 10 April 2024, 13:41:18 UTC
Merge topic 'swift-fix-submodule-dependencies' into release-3.29
Tip revision: 614ebb7
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.

See also :variable:`CMAKE_SKIP_TEST_ALL_DEPENDENCY`.
back to top