mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 16:38:37 -05:00
30 lines
516 B
CMake
30 lines
516 B
CMake
project(serialdv)
|
|
|
|
set(serialdv_SOURCES
|
|
${LIBSERIALDVSRC}/dvcontroller.cpp
|
|
${LIBSERIALDVSRC}/serialdatacontroller.cpp
|
|
)
|
|
|
|
set(serialdv_HEADERS
|
|
${LIBSERIALDVSRC}/dvcontroller.h
|
|
${LIBSERIALDVSRC}/serialdatacontroller.h
|
|
)
|
|
|
|
include_directories(
|
|
.
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${LIBSERIALDVSRC}
|
|
)
|
|
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
add_library(serialdv SHARED
|
|
${serialdv_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(serialdv
|
|
${LIBUSB_LIBRARIES}
|
|
)
|
|
|
|
install(TARGETS serialdv DESTINATION lib)
|