https://github.com/Kitware/CMake
Raw File
Tip revision: b45f9b364382839995c76bc9794bb5ae8fb787b5 authored by Brad King on 01 November 2022, 17:10:48 UTC
CMake 3.25.0-rc3
Tip revision: b45f9b3
CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES.rst
CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES
---------------------------------------

.. versionadded:: 3.24

Set to a true value to tell the :command:`try_compile` command not
to propagate any platform variables into the test project.

The :command:`try_compile` command normally passes some CMake variables
that configure the platform and toolchain behavior into test projects.
See policy :policy:`CMP0137`.  This variable may be set to disable
that behavior.
back to top