dep-provider-try_compile.rst 432 B

123456789
  1. dep-provider-try_compile
  2. ------------------------
  3. * The :prop_gbl:`PROPAGATE_TOP_LEVEL_INCLUDES_TO_TRY_COMPILE` global property
  4. can be used to propagate :variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` into
  5. :command:`try_compile` calls that use the
  6. :ref:`whole-project signature <Try Compiling Whole Projects>`.
  7. This is primarily intended as a way for dependency providers to be enabled
  8. in such :command:`try_compile` calls.