Skip to content
  • Brad King's avatar
    try_compile: Optionally forward custom platform variables to test project · d256ba07
    Brad King authored
    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.
    d256ba07