mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-08 01:26:01 -05:00
54 lines
994 B
CMake
54 lines
994 B
CMake
|
project(fcdproplus)
|
||
|
|
||
|
set(fcdproplus_SOURCES
|
||
|
fcdproplusgui.cpp
|
||
|
fcdproplusinput.cpp
|
||
|
fcdproplusplugin.cpp
|
||
|
fcdproplusserializer.cpp
|
||
|
fcdproplusthread.cpp
|
||
|
)
|
||
|
|
||
|
set(fcdproplus_HEADERS
|
||
|
fcdproplusgui.h
|
||
|
fcdproplusinput.h
|
||
|
fcdproplusplugin.h
|
||
|
fcdproplusserializer.h
|
||
|
fcdproplusthread.h
|
||
|
)
|
||
|
|
||
|
set(fcdproplus_FORMS
|
||
|
fcdproplusgui.ui
|
||
|
)
|
||
|
|
||
|
include_directories(
|
||
|
.
|
||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||
|
${CMAKE_SOURCE_DIR}/include
|
||
|
${CMAKE_SOURCE_DIR}/include-gpl
|
||
|
${CMAKE_SOURCE_DIR}/fcdhid
|
||
|
)
|
||
|
|
||
|
#include(${QT_USE_FILE})
|
||
|
add_definitions(${QT_DEFINITIONS})
|
||
|
add_definitions(-DQT_PLUGIN)
|
||
|
add_definitions(-DQT_SHARED)
|
||
|
|
||
|
#qt4_wrap_cpp(fcdproplus_HEADERS_MOC ${fcdproplus_HEADERS})
|
||
|
qt5_wrap_ui(fcdproplus_FORMS_HEADERS ${fcdproplus_FORMS})
|
||
|
|
||
|
add_library(inputfcdproplus SHARED
|
||
|
${fcdproplus_SOURCES}
|
||
|
${fcdproplus_HEADERS_MOC}
|
||
|
${fcdproplus_FORMS_HEADERS}
|
||
|
)
|
||
|
|
||
|
target_link_libraries(inputfcdproplus
|
||
|
${QT_LIBRARIES}
|
||
|
${LIBUSB_LIBRARIES}
|
||
|
asound
|
||
|
fcdhid
|
||
|
sdrbase
|
||
|
)
|
||
|
|
||
|
qt5_use_modules(inputfcdproplus Core Widgets OpenGL Multimedia)
|