Skip to content

Commit

Permalink
Merge pull request #106 from myriadrf/gr-limesuiteng
Browse files Browse the repository at this point in the history
Replace gr-limesdr with gr-limesuiteng
  • Loading branch information
rjonaitis authored Dec 9, 2024
2 parents 677ad09 + 61b5518 commit 64f54c5
Show file tree
Hide file tree
Showing 122 changed files with 5,589 additions and 7,977 deletions.
30 changes: 16 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,22 @@ set(CPP_STL_PCH
<vector>
<queue>)

########################################################################
# uninstall target
########################################################################
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE
@ONLY)

#only add uninstall target if this is the top project
if(TARGET uninstall)
message(AUTHOR_WARNING "Parent project has already defined 'uninstall' target, limesuiteng will not have it's own uninstall.")
elseif(${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})
add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
endif()

#########################################################################
# externals
#########################################################################
Expand Down Expand Up @@ -381,17 +397,3 @@ message(STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}")
message(STATUS "Build timestamp: ${BUILD_TIMESTAMP}")
message(STATUS "Lime Suite version: ${LIME_SUITE_VERSION}")
message(STATUS "ABI/so version: ${LIME_SUITE_SOVER}")

########################################################################
# uninstall target
########################################################################
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE
@ONLY)

#only add uninstall target if this is the top project
if(${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})
add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
endif()
2 changes: 1 addition & 1 deletion docs/gettingStarted/plugins/gnuradio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ https://www.gnuradio.org/

LimeSDR devices can be used with GNU Radio, and also using it's GNU Radio companion GUI blocks.

Checkout the included examples: https://github.com/myriadrf/LimeSuiteNG/blob/develop/plugins/gr-limesdr/examples
Checkout the included examples: https://github.com/myriadrf/LimeSuiteNG/blob/develop/plugins/gr-limesuiteng/examples

.. image:: gnuradio.png
8 changes: 5 additions & 3 deletions plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ add_subdirectory(Soapy_limesuiteng)
########################################################################
## GNU Radio plugin
########################################################################
find_package(Gnuradio "3.10")
include(CMakeDependentOption)
cmake_dependent_option(ENABLE_GNURADIO_PREREQ "Build LimeSuiteNG plugin for GNU Radio" ON "ENABLE_LIBRARY;BUILD_SHARED_LIBS" OFF)
cmake_dependent_option(
ENABLE_GNURADIO_PREREQ "Build LimeSuiteNG plugin for GNU Radio" ON "GNURADIO_FOUND;ENABLE_LIBRARY;BUILD_SHARED_LIBS" OFF)

if(ENABLE_GNURADIO_PREREQ)
add_subdirectory(gr-limesdr)
add_subdirectory(gr-limesuiteng)
else()
add_feature_info(GNURADIO OFF "GNU Radio 3.9+ Plug-in")
add_feature_info(GNURADIO OFF "GNU Radio 3.10+ Plug-in")
endif()

########################################################################
Expand Down
104 changes: 0 additions & 104 deletions plugins/gr-limesdr/.clang-format

This file was deleted.

7 changes: 0 additions & 7 deletions plugins/gr-limesdr/.gitignore

This file was deleted.

202 changes: 0 additions & 202 deletions plugins/gr-limesdr/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit 64f54c5

Please sign in to comment.