diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-05 21:44:35 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-05 21:44:35 -0500 |
commit | b0650727571f99b242b699df3a2c70b49e7c5a27 (patch) | |
tree | 87d6389ea5d67129df932a8b5528162deaf35ef6 /gruel | |
parent | 60dfd1fda2a48dcd111fac115d0d5c70afb210d2 (diff) | |
parent | 53ff88a6d6721aa7d31e70bf74511e1138fa833e (diff) |
Merge branch 'master' into next
Conflicts:
gr-atsc/src/lib/CMakeLists.txt
gr-noaa/lib/CMakeLists.txt
gr-trellis/src/lib/CMakeLists.txt
gr-video-sdl/src/CMakeLists.txt
Diffstat (limited to 'gruel')
-rw-r--r-- | gruel/src/lib/CMakeLists.txt | 16 | ||||
-rw-r--r-- | gruel/src/lib/gruel.rc.in | 55 |
2 files changed, 70 insertions, 1 deletions
diff --git a/gruel/src/lib/CMakeLists.txt b/gruel/src/lib/CMakeLists.txt index ae32ae066d..a3baa4fa5c 100644 --- a/gruel/src/lib/CMakeLists.txt +++ b/gruel/src/lib/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright 2010-2011 Free Software Foundation, Inc. +# Copyright 2010-2011,2013 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -82,6 +82,20 @@ list(APPEND gruel_sources thread_group.cc ) +#Add Windows DLL resource file if using MSVC +if(MSVC) + include(${CMAKE_SOURCE_DIR}/cmake/Modules/GrVersion.cmake) + + configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/gruel.rc.in + ${CMAKE_CURRENT_BINARY_DIR}/gruel.rc + @ONLY) + + list(APPEND gruel_sources + ${CMAKE_CURRENT_BINARY_DIR}/gruel.rc + ) +endif(MSVC) + list(APPEND gruel_libs ${Boost_LIBRARIES}) if(HAVE_PTHREAD_SETSCHEDPARAM) diff --git a/gruel/src/lib/gruel.rc.in b/gruel/src/lib/gruel.rc.in new file mode 100644 index 0000000000..906b7d61c2 --- /dev/null +++ b/gruel/src/lib/gruel.rc.in @@ -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", "gruel" + VALUE "FileVersion", "@VERSION@" + VALUE "InternalName", "gruel.dll" + VALUE "LegalCopyright", "Licensed under GPLv3 or any later version" + VALUE "OriginalFilename", "gruel.dll" + VALUE "ProductName", "gruel" + VALUE "ProductVersion", "@VERSION@" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END + END |