summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_TRY_COMPILE_PLATFORM_VARIABLES.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Document CMAKE_TRY_COMPILE_PLATFORM_VARIABLES exampleBrad King2016-06-301-0/+16
| | | | Suggested-by: Hendrik Sattler <post@hendrik-sattler.de>
* try_compile: Optionally forward custom platform variables to test projectBrad King2016-05-251-0/+10
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.