Spec-Zone.ru › CMake

CMAKE_FIND_DEBUG_MODE_NO_IMPLICIT_CONFIGURE_LOG

Added in version 4.1.

The following commands will report configure log events when they experience a transition between found and not-found states or when the result is first defined:

  • find_program()
  • find_library()
  • find_file()
  • find_path()
  • find_package()

The CMAKE_FIND_DEBUG_MODE_NO_IMPLICIT_CONFIGURE_LOG boolean variable suppresses these implicit events from the configure log when set to a true value.

set(CMAKE_FIND_DEBUG_MODE_NO_IMPLICIT_CONFIGURE_LOG TRUE)
find_program(...)
set(CMAKE_FIND_DEBUG_MODE_NO_IMPLICIT_CONFIGURE_LOG FALSE)

Default is unset.

© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_DEBUG_MODE_NO_IMPLICIT_CONFIGURE_LOG.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API