1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-09 01:56:05 -05:00
sdrangel/plugins/samplesource/filesource/CMakeLists.txt

50 lines
926 B
CMake
Raw Normal View History

project(filesource)
set(filesource_SOURCES
filesourcegui.cpp
filesourceinput.cpp
filesourceplugin.cpp
filesourcethread.cpp
)
set(filesource_HEADERS
filesourcegui.h
filesourceinput.h
filesourceplugin.h
filesourcethread.h
)
set(filesource_FORMS
filesourcegui.ui
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/include-gpl
${LIBRTLSDR_INCLUDE_DIR}
)
#include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
#qt4_wrap_cpp(filesource_HEADERS_MOC ${filesource_HEADERS})
qt5_wrap_ui(filesource_FORMS_HEADERS ${filesource_FORMS})
add_library(inputfilesource SHARED
${filesource_SOURCES}
${filesource_HEADERS_MOC}
${filesource_FORMS_HEADERS}
)
target_link_libraries(inputfilesource
${QT_LIBRARIES}
${LIBUSB_LIBRARIES}
sdrbase
)
qt5_use_modules(inputfilesource Core Widgets OpenGL Multimedia)