Skip to content
  • Brad King's avatar
    CMake: Add CMAKE_GENERATOR_PLATFORM option · 0f1f1271
    Brad King authored
    Reject the option by default.  It will be implemented on a per-generator
    basis.  Pass the setting into try_compile project generation.  Add cache
    entry CMAKE_GENERATOR_PLATFORM and associated variable documentation to
    hold the value persistently.
    
    Add a RunCMake.GeneratorPlatform test to cover basic use cases for the
    option.  Verify that CMAKE_GENERATOR_PLATFORM is empty by default, and
    that it is rejected when the generator does not support a user setting.
    0f1f1271