Skip to content
  • Brad King's avatar
    add_library: Allow arbitrary non-linked sources in OBJECT libraries · 2c470b77
    Brad King authored
    Loosen this restriction on OBJECT libraries to allow source files of any
    name to be generated by custom commands or listed for reference in IDE
    projects so long as they would not affect linking of a normal library.
    Update the rejection message to be more specific about the looser
    restriction.
    
    Extend the ObjectLibrary test to cover a ".cmake" file generated by a
    custom command in an OBJECT library.
    2c470b77