install(TARGETS): Automatically install predefined `FILE_SET` types to "default" locations
Currently to my knowledge (and experimenting) when you have PUBLIC
/INTERFACE
file sets (for example for public headers) you need to specify FILE_SET HEADERS
during the install(TARGETS ...)
command to be able to generate the project if you are also exporting the target.
It would be nice to not have to specify FILE_SET HEADERS
explicitly and that they are installed by default to CMAKE_INSTALL_INCLUDEDIR
(same could be done for CXX_MODULES
once there is a common accepted location for them).
Current "minimal" install: install(TARGETS target EXPORT export FILE_SET HEADERS)
What I would like: install(TARGETS target EXPORT export)
Edited by Michael Ferrari