Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
paulh002 committed Jan 3, 2023
1 parent 069f538 commit f1bb4f3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
#Note: VisualGDB will automatically update this file when you add new sources to the project.

cmake_minimum_required(VERSION 2.7)
project(SoapyHifiBerry)
project(SoapyHifiBerrySDR)
set(LIBRARIES_FROM_REFERENCES -lpthread -lSoapySDR -lliquid -lasound)
add_library(SoapyHifiBerry SHARED SoapyHifiBerry.cpp AudioInput.cpp AudioOutput.cpp configfile.cpp configoption.cpp RtAudio.cpp 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(SoapyHifiBerry PRIVATE __LINUX_ALSA__)
target_compile_options(SoapyHifiBerry PRIVATE -O3 -ggdb )
set_property(TARGET SoapyHifiBerry PROPERTY CXX_STANDARD 17)
target_link_libraries(SoapyHifiBerry "${LIBRARIES_FROM_REFERENCES}")
install(TARGETS SoapyHifiBerry DESTINATION /usr/local/lib/arm-linux-gnueabihf/SoapySDR/modules0.8/)
add_library(SoapyHifiBerrySDR SHARED SoapyHifiBerry.cpp AudioInput.cpp AudioOutput.cpp configfile.cpp configoption.cpp RtAudio.cpp 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}")
install(TARGETS SoapyHifiBerrySDR DESTINATION /usr/local/lib/arm-linux-gnueabihf/SoapySDR/modules0.8-2/)

0 comments on commit f1bb4f3

Please sign in to comment.