Based at qpid/cpp this patch adds a Windows version resource and an Icon to exe and dll files.
1. The qpid/cpp/CMakeLists file is reordered to construct CPACK variables before adding subdirectories. The /src subdirectory uses the CPACK variable version values.
2. The qpid/cpp/src/CMakeLists file is enhanced to propagate windows versions specified 1) in a file dedicated to windows version settings, 2) in CPACK variables, and 3) later on in the file via a command line.
3. A file, cpp/src/CMakeWinVersions.cmake is added to contain windows version settings 1) for all projcects or 2) for individual projects. This file gives users fine grained control of what goes into any project's version.RC file.
4. A single template RC file is added. This file is the input to a configure_file cmake command. Its variables are substituted to create the actual version.rc file for a given project.
5. An icon file is added.
a. copyright information is left blank
b. default version values are taken from the CPACK settings and the project's names.