Commit Graph

4 Commits

Author SHA1 Message Date
Zsolt Parragi
fa339ced67 CMakeVersion.rc: Avoid preprocessor definitions to support llvm-rc
`llvm-rc` does not support them as of version 8.
2019-02-27 08:31:46 -05:00
Justin Goshi
f92304c789 CMakeVersion RC file: Split patch into 2 components
The binary file version has 4 16-bit components. In cases where the
patch component is too large (ex: represents a build date yyyymmdd) we
split it into two parts.
2017-12-04 10:49:39 -08:00
Justin Goshi
4a3c19a583 Windows: Fix version embedding in CMake binaries
In commit 5b9da05b7a (Windows: Embed version information into CMake
binaries, 2017-10-25) we left out `<winres.h>` since MinGW does not have
the header, but it is needed for the `VS_VERSION_INFO` macro.  Provide
the macro ourselves.

Suggested-by: Christian Pfeiffer <cpfeiffer@live.de>
2017-11-30 10:42:26 -05:00
Justin Goshi
5b9da05b7a Windows: Embed version information into CMake binaries 2017-10-31 10:02:25 -04:00