• Brad King's avatar
    Genex: Reject $<TARGET_FILE:...> for object libraries (#14532) · d9605897
    Brad King authored
    Teach the cmGeneratorExpressionEvaluator filesystem artifact logic
    to reject OBJECT_LIBRARY targets since they have no main artifact.
    Without the explicit rejection evaluation falls through to an
    internal CMake error message in cmTarget::GetOutputInfo.
    
    Extend the RunCMake.GeneratorExpression test to cover these cases.
    d9605897
cmGeneratorExpressionEvaluator.cxx 56.6 KB