Skip to content

Commit

Permalink
add harogic_source module
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreRouma committed Aug 21, 2024
1 parent e674a73 commit 46e98b9
Show file tree
Hide file tree
Showing 4 changed files with 418 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ option(OPT_BUILD_BADGESDR_SOURCE "Build BadgeSDR Source Module (Dependencies: li
option(OPT_BUILD_BLADERF_SOURCE "Build BladeRF Source Module (Dependencies: libbladeRF)" OFF)
option(OPT_BUILD_FILE_SOURCE "Wav file source" ON)
option(OPT_BUILD_HACKRF_SOURCE "Build HackRF Source Module (Dependencies: libhackrf)" ON)
option(OPT_BUILD_HAROGIC_SOURCE "Build Harogic Source Module (Dependencies: htra_api)" OFF)
option(OPT_BUILD_HERMES_SOURCE "Build Hermes Source Module (no dependencies required)" ON)
option(OPT_BUILD_LIMESDR_SOURCE "Build LimeSDR Source Module (Dependencies: liblimesuite)" OFF)
option(OPT_BUILD_NETWORK_SOURCE "Build Network Source Module (no dependencies required)" ON)
Expand Down Expand Up @@ -145,6 +146,10 @@ if (OPT_BUILD_HACKRF_SOURCE)
add_subdirectory("source_modules/hackrf_source")
endif (OPT_BUILD_HACKRF_SOURCE)

if (OPT_BUILD_HAROGIC_SOURCE)
add_subdirectory("source_modules/harogic_source")
endif (OPT_BUILD_HAROGIC_SOURCE)

if (OPT_BUILD_HERMES_SOURCE)
add_subdirectory("source_modules/hermes_source")
endif (OPT_BUILD_HERMES_SOURCE)
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ Modules in beta are still included in releases for the most part but not enabled
| bladerf_source | Working | libbladeRF | OPT_BUILD_BLADERF_SOURCE || ✅ (not Debian Buster) ||
| file_source | Working | - | OPT_BUILD_FILE_SOURCE ||||
| hackrf_source | Working | libhackrf | OPT_BUILD_HACKRF_SOURCE ||||
| harogic_source | Unfinished | htra_api | OPT_BUILD_HAROGIC_SOURCE ||||
| hermes_source | Beta | - | OPT_BUILD_HERMES_SOURCE ||||
| limesdr_source | Working | liblimesuite | OPT_BUILD_LIMESDR_SOURCE ||||
| network_source | Unfinished | - | OPT_BUILD_NETWORK_SOURCE ||||
Expand Down
15 changes: 15 additions & 0 deletions source_modules/harogic_source/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
cmake_minimum_required(VERSION 3.13)
project(harogic_source)

file(GLOB SRC "src/*.cpp")

include(${SDRPP_MODULE_CMAKE})

if (MSVC)
# Lib path
target_link_directories(harogic_source PRIVATE "C:/radio/HTRA_API/x64/htra_api/")
target_include_directories(harogic_source PRIVATE "C:/radio/HTRA_API/x64/htra_api/")
target_link_libraries(harogic_source PRIVATE htra_api)
else (MSVC)
# TODO
endif ()
Loading

0 comments on commit 46e98b9

Please sign in to comment.