diff options
Diffstat (limited to 'gr-vocoder/lib/CMakeLists.txt')
-rw-r--r-- | gr-vocoder/lib/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-vocoder/lib/CMakeLists.txt b/gr-vocoder/lib/CMakeLists.txt index 0a87c0ccc0..3b4fb859b5 100644 --- a/gr-vocoder/lib/CMakeLists.txt +++ b/gr-vocoder/lib/CMakeLists.txt @@ -58,6 +58,20 @@ list(APPEND gr_vocoder_sources ulaw_encode_sb_impl.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}/gnuradio-vocoder.rc.in + ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-vocoder.rc + @ONLY) + + list(APPEND gr_uhd_sources + ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-vocoder.rc + ) +endif(MSVC) + ######################################################################## # Include subdirs rather to populate to the sources lists. ######################################################################## |