INTERFACE Target: Allow associated public / private headers
requested to merge avraham.shukron/cmake:feature/headers-associated-with-interface-library into master
This is based on the work done by @gang65 in !3113 (closed)
I removed the ability to add sources in the add_library
call from the original MR, since this is not required
to allow public/private headers.
Allowing sources to be added to INTERFACE library may be a good idea, but for another issue.
I also added test cases to verify that it is valid to set these properties, and that the headers are installed correctly.
Fixes: #15234 (closed)
Topic-rename: iface-headers
Edited by Brad King