1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-10-01 09:16:39 -04:00
sdrangel/libsoapysdr/CMakeLists.txt

28 lines
494 B
CMake
Raw Normal View History

project(soapysdr)
file(GLOB soapysdr_SOURCES
${LIBSOAPYSDRSRC}/lib/*.cpp
)
file(GLOB soapysdr_HEADERS
${LIBSOAPYSDRSRC}/include/SoapySDR/*.hpp
${LIBSOAPYSDRSRC}/include/SoapySDR/*.h
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${LIBSOAPYSDRSRC}/include
${LIBSOAPYSDRSRC}/lib
)
add_definitions(-DQT_SHARED)
message( STATUS "soapysdr_SOURCES: ${soapysdr_SOURCES}" )
add_library(soapysdr SHARED
${soapysdr_SOURCES}
)
install(TARGETS soapysdr DESTINATION lib)