More work on scanner

This commit is contained in:
AlexandreRouma 2021-11-11 17:09:37 +01:00
parent a414b75ef4
commit cca18f3a70

View File

@ -44,6 +44,7 @@ option(OPT_BUILD_DISCORD_PRESENCE "Build the Discord Rich Presence module" ON)
option(OPT_BUILD_FREQUENCY_MANAGER "Build the Frequency Manager module" ON) option(OPT_BUILD_FREQUENCY_MANAGER "Build the Frequency Manager module" ON)
option(OPT_BUILD_RECORDER "Audio and baseband recorder" ON) option(OPT_BUILD_RECORDER "Audio and baseband recorder" ON)
option(OPT_BUILD_RIGCTL_SERVER "Rigctl backend for controlling SDR++ with software like gpredict" ON) option(OPT_BUILD_RIGCTL_SERVER "Rigctl backend for controlling SDR++ with software like gpredict" ON)
option(OPT_BUILD_SCANNER "Frequency scanner" OFF)
# Other options # Other options
option(USE_INTERNAL_LIBCORRECT "Use an external version of libcorrect" ON) option(USE_INTERNAL_LIBCORRECT "Use an external version of libcorrect" ON)
@ -166,6 +167,10 @@ if (OPT_BUILD_RIGCTL_SERVER)
add_subdirectory("misc_modules/rigctl_server") add_subdirectory("misc_modules/rigctl_server")
endif (OPT_BUILD_RIGCTL_SERVER) endif (OPT_BUILD_RIGCTL_SERVER)
if (OPT_BUILD_SCANNER)
add_subdirectory("misc_modules/scanner")
endif (OPT_BUILD_SCANNER)
add_executable(sdrpp "src/main.cpp" "win32/resources.rc") add_executable(sdrpp "src/main.cpp" "win32/resources.rc")
target_link_libraries(sdrpp PRIVATE sdrpp_core) target_link_libraries(sdrpp PRIVATE sdrpp_core)