1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

Implemented Debian package build environment

This commit is contained in:
Edouard Griffiths
2016-10-26 00:57:46 +02:00
parent c54cc830c6
commit ecc1647ee6
37 changed files with 1599 additions and 313 deletions
+30
View File
@@ -0,0 +1,30 @@
project(hackrf)
find_package(LibUSB)
set(hackrf_SOURCES
${LIBHACKRFSRC}/src/hackrf.c
)
set(hackrf_HEADERS
${LIBHACKRFSRC}/src/hackrf.h
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${LIBUSB_INCLUDE_DIR}
${LIBHACKRFSRC}/src
)
add_definitions(-DQT_SHARED)
add_library(hackrf SHARED
${hackrf_SOURCES}
)
target_link_libraries(hackrf
${LIBUSB_LIBRARIES}
)
install(TARGETS hackrf DESTINATION lib)