• Stephen Kelly's avatar
    INTERFACE_LIBRARY: Avoid codepaths which set unneeded properties. · 0bfcb450
    Stephen Kelly authored
    As an INTERFACE_LIBRARY has no direct link dependencies, we can
    short-circuit in cmGeneratorExpressionEvaluator and
    in cmGlobalGenerator::CheckLocalGenerators.
    As they do not generate any output directly, any generate- or install-
    related code acn also be short-circuited. Many of the local generators
    already do this.
    Because only INTERFACE related properties make sense on INTERFACE_LIBRARY
    targets, avoid setting other properties, for example via defaults.
cmGeneratorExpressionEvaluator.cxx 59.1 KB