mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

Each source compilation generates a dependencies file. These dependencies files are consolidated in one file per target. This consolidation is done as part of command 'cmake -E cmake_depends` launched before evaluation of makefile dependency graph. The consolidation uses the same approach as `CMake` dependencies management. Fixes: #21321
10 lines
343 B
ReStructuredText
10 lines
343 B
ReStructuredText
CMAKE_DEPENDS_USE_COMPILER
|
|
--------------------------
|
|
|
|
.. versionadded:: 3.20
|
|
|
|
For the :ref:`Makefile Generators`, source dependencies are now, for a
|
|
selection of compilers, generated by the compiler itself. By defining this
|
|
variable with value ``FALSE``, you can restore the legacy behavior (i.e. using
|
|
``CMake`` for dependencies discovery).
|