-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#Generated by VisualGDB project wizard. | ||
#Note: VisualGDB will automatically update this file when you add new sources to the project. | ||
|
||
cmake_minimum_required(VERSION 3.3.0) | ||
project(SoapyHifiBerrySDR) | ||
set(LIBRARIES_FROM_REFERENCES -lpthread -lSoapySDR -lliquid -lasound) | ||
add_library(SoapyHifiBerrySDR SHARED SoapyHifiBerry.cpp AudioInput.cpp AudioOutput.cpp configfile.cpp configoption.cpp RtAudio.cpp TCA9548.cpp TCA9548.h si5351.cpp SoapyHifiBerrySettings.cpp SoapyHifiBerryStreaming.cpp strlib.cpp Audiodefs.h AudioInput.h AudioOutput.h configfile.h configoption.h DataBuffer.h RtAudio.h si5351.h SoapyHifiBerry.h strlib.h) | ||
target_compile_definitions(SoapyHifiBerrySDR PRIVATE __LINUX_ALSA__) | ||
target_compile_options(SoapyHifiBerrySDR PRIVATE -O3 -ggdb ) | ||
set_property(TARGET SoapyHifiBerrySDR PROPERTY CXX_STANDARD 17) | ||
target_link_libraries(SoapyHifiBerrySDR "${LIBRARIES_FROM_REFERENCES}") | ||
|
||
######################################################################## | ||
# build the module | ||
######################################################################## | ||
find_package(SoapySDR CONFIG) | ||
|
||
if (NOT SoapySDR_FOUND) | ||
message(WARNING "SoapySDR development files not found - skipping support") | ||
return() | ||
endif () | ||
|
||
install(TARGETS SoapyHifiBerrySDR DESTINATION ${CMAKE_LIB_DEST}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters