aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/uhd.rc.in
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-02-28 15:57:35 -0800
committerNicholas Corgan <nick.corgan@ettus.com>2013-02-28 15:59:55 -0800
commit4a320f31432f8f7c50456a20c4de0ca9b0dde017 (patch)
treec222ecf0bc314ed45ef6ad4240719083b3aabc33 /host/lib/uhd.rc.in
parent91cfa4f67f5df23e6de41330dcb0782cd6a2ff68 (diff)
downloaduhd-4a320f31432f8f7c50456a20c4de0ca9b0dde017.tar.gz
uhd-4a320f31432f8f7c50456a20c4de0ca9b0dde017.tar.bz2
uhd-4a320f31432f8f7c50456a20c4de0ca9b0dde017.zip
Added Windows DLL resource file to insert version into DLL
Diffstat (limited to 'host/lib/uhd.rc.in')
-rw-r--r--host/lib/uhd.rc.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/host/lib/uhd.rc.in b/host/lib/uhd.rc.in
new file mode 100644
index 000000000..01a5e07f5
--- /dev/null
+++ b/host/lib/uhd.rc.in
@@ -0,0 +1,33 @@
+#include <afxres.h>
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION @RC_VERSION_MAJOR@,@RC_VERSION_MINOR@,@RC_VERSION_PATCH@,@UHD_GIT_COUNT@
+ PRODUCTVERSION @RC_VERSION_MAJOR@,@RC_VERSION_MINOR@,@RC_VERSION_PATCH@,@UHD_GIT_COUNT@
+ FILEFLAGSMASK 0x3fL
+#ifndef NDEBUG
+ FILEFLAGS 0x0L
+#else
+ FILEFLAGS 0x1L
+#endif
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_DLL
+ FILESUBTYPE VFT2_DRV_INSTALLABLE
+ BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "FileDescription", "USRP Hardware Driver (UHD) Library"
+ VALUE "FileVersion", "@UHD_VERSION@"
+ VALUE "InternalName", "uhd.dll"
+ VALUE "LegalCopyright", "Licensed under GPLv3 or any later version"
+ VALUE "OriginalFilename", "uhd.dll"
+ VALUE "ProductName", "USRP Hardware Driver (UHD) Library"
+ VALUE "ProductVersion", "@UHD_VERSION@"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+ END