Skip to content
  • Brad King's avatar
    Tell generators about CMAKE_SYSTEM_NAME as soon as it is known · ecb34faa
    Brad King authored
    Add a cmGlobalGenerator::SetSystemName virtual method.  Call it from
    cmGlobalGenerator::EnableLanguage as soon as CMAKE_SYSTEM_NAME is known.
    This will give generators a chance to adapt themselves to the target
    system.  Pass the cmMakefile instance to the method so that the
    generator can update it accordingly.  Return early from EnableLanguage
    if SetSystemName returns false.
    ecb34faa