commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 11/37: build: missed gnuradio-uhd in static


From: git
Subject: [Commit-gnuradio] [gnuradio] 11/37: build: missed gnuradio-uhd in static libs build.
Date: Thu, 17 Jul 2014 20:23:40 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit 45f12cf0031cdf594dff8a9bfc7db395cd39ca37
Author: Tom Rondeau <address@hidden>
Date:   Fri Jul 11 09:52:37 2014 -0400

    build: missed gnuradio-uhd in static libs build.
---
 gr-uhd/lib/CMakeLists.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gr-uhd/lib/CMakeLists.txt b/gr-uhd/lib/CMakeLists.txt
index 9121dd4..f926b81 100644
--- a/gr-uhd/lib/CMakeLists.txt
+++ b/gr-uhd/lib/CMakeLists.txt
@@ -76,3 +76,16 @@ list(APPEND uhd_libs
 add_library(gnuradio-uhd SHARED ${gr_uhd_sources})
 target_link_libraries(gnuradio-uhd ${uhd_libs})
 GR_LIBRARY_FOO(gnuradio-uhd RUNTIME_COMPONENT "uhd_runtime" DEVEL_COMPONENT 
"uhd_devel")
+
+if(ENABLE_STATIC_LIBS)
+  add_library(gnuradio-uhd_static STATIC ${uhd_sources})
+
+  if(NOT WIN32)
+    set_target_properties(gnuradio-uhd_static
+      PROPERTIES OUTPUT_NAME gnuradio-uhd)
+  endif(NOT WIN32)
+
+  install(TARGETS gnuradio-uhd_static
+    ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT "uhd_devel"   # .lib file
+    )
+endif(ENABLE_STATIC_LIBS)
\ No newline at end of file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]