summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_TRY_COMPILE_PLATFORM_VARIABLES.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Add Sphinx 'versionadded' directives to each top-level documentKitware Robot2020-07-061-0/+2
| | | | | | | Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
* 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.