install(TARGETS targets... PDB ...)
It would be nice to be able to install pdb files more easily.
I know I can do the following but it would be easier if it was integrated with install(TARGETS)
command:
get_target_property(pdb_output_dir mytarget PDB_OUTPUT_DIRECTORY)
get_target_property(pdb_name mytarget PDB_NAME)
install(FILES ${pdb_output_dir}/${pdb_name}.pdb DESTINATION bin)