Permalink
Browse files

lib: Added gnuradio-extras DLL resource file

  • Loading branch information...
ncorgan authored and guruofquality committed Mar 19, 2013
1 parent 9dc3fb6 commit 6f01ab3657ec33b7dea8e818b2f0667039b9334d
Showing with 66 additions and 0 deletions.
  1. +11 −0 lib/CMakeLists.txt
  2. +55 −0 lib/gnuradio-extras.rc.in
View
@@ -59,6 +59,17 @@ list(APPEND gr_extras_sources
socket_msg.cc
)
+if(MSVC AND ENABLE_EXTRAS)
+ include(GrVersion)
+
+ configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/gnuradio-extras.rc.in
+ ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-extras.rc
+ @ONLY)
+
+ list(APPEND gr_extras_sources ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-extras.rc)
+endif()
+
list(APPEND gr_extras_libs
${Boost_LIBRARIES}
${VOLK_LIBRARIES}
View
@@ -0,0 +1,55 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2013 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include <afxres.h>
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION @MAJOR_VERSION@,@API_COMPAT@,@RC_MINOR_VERSION@,@RC_MAINT_VERSION@
+ PRODUCTVERSION @MAJOR_VERSION@,@API_COMPAT@,@RC_MINOR_VERSION@,@RC_MAINT_VERSION@
+ 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", "gnuradio-extras"
+ VALUE "FileVersion", "@VERSION@"
+ VALUE "InternalName", "gnuradio-extras.dll"
+ VALUE "LegalCopyright", "Licensed under GPLv3 or any later version"
+ VALUE "OriginalFilename", "gnuradio-extras.dll"
+ VALUE "ProductName", "gnuradio-extras"
+ VALUE "ProductVersion", "@VERSION@"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+ END

0 comments on commit 6f01ab3

Please sign in to comment.