Skip to content
  • Oswald Buddenhagen's avatar
    introduce ability to build projects for the host system · 14bbab09
    Oswald Buddenhagen authored
    
    
    when qmake runs into the new option(host_build) command, it will restart
    the project evaluation with a host spec.
    
    the new default host spec is called default-host (gasp!). it is
    overridden with the pre-exising -spec / -platform option, while the new
    -xspec / -xplatform option overrides the pre-existing default spec.
    specifying -spec but not -xspec will set the xspec, too, so the behavior
    is backwards-compatible. same for the XQMAKESPEC override read from
    .qmake.cache and the environment variable.
    the cleaner solution would be adding -hostspec, to be symmetrical with
    the override semantics, but that would deviate from configure in turn.
    
    Change-Id: I4297c873780af16ab7928421b434ce0f1d3820da
    Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@nokia.com>
    14bbab09