d256ba078a
Add a `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable to specify a list of custom variables to be forwarded to a `try_compile` test project. This will be useful for platform information modules or toolchain files to forward some platform-specific set of variables from the host project (perhaps set in its cache) to the test project so that it can build the same way.
8 lines
285 B
ReStructuredText
8 lines
285 B
ReStructuredText
try_compile-custom-variables
|
|
----------------------------
|
|
|
|
* A :variable:`CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable was
|
|
added for use by toolchain files to specify platform-specific
|
|
variables that must be propagated by the :command:`try_compile`
|
|
command into test projects.
|