2015-09-02 21:57:54 -04:00
|
|
|
project(fcdpro)
|
|
|
|
|
|
|
|
set(fcdpro_SOURCES
|
2015-09-03 22:10:38 -04:00
|
|
|
fcdprogui.cpp
|
|
|
|
fcdproinput.cpp
|
|
|
|
fcdproplugin.cpp
|
2015-09-29 23:38:58 -04:00
|
|
|
fcdprosettings.cpp
|
2015-09-03 22:10:38 -04:00
|
|
|
fcdprothread.cpp
|
2015-09-02 21:57:54 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
set(fcdpro_HEADERS
|
2015-09-03 22:10:38 -04:00
|
|
|
fcdprogui.h
|
|
|
|
fcdproinput.h
|
|
|
|
fcdproplugin.h
|
2015-09-29 23:38:58 -04:00
|
|
|
fcdprosettings.h
|
2015-09-03 22:10:38 -04:00
|
|
|
fcdprothread.h
|
2015-09-02 21:57:54 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
set(fcdpro_FORMS
|
2015-09-03 22:10:38 -04:00
|
|
|
fcdprogui.ui
|
2015-09-02 21:57:54 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
.
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_SOURCE_DIR}/fcdhid
|
2015-09-04 23:50:29 -04:00
|
|
|
${CMAKE_SOURCE_DIR}/fcdlib
|
2015-09-02 21:57:54 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
#include(${QT_USE_FILE})
|
|
|
|
add_definitions(${QT_DEFINITIONS})
|
|
|
|
add_definitions(-DQT_PLUGIN)
|
|
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
|
|
|
|
#qt4_wrap_cpp(fcdpro_HEADERS_MOC ${fcdpro_HEADERS})
|
|
|
|
qt5_wrap_ui(fcdpro_FORMS_HEADERS ${fcdpro_FORMS})
|
|
|
|
|
|
|
|
add_library(inputfcdpro SHARED
|
|
|
|
${fcdpro_SOURCES}
|
|
|
|
${fcdpro_HEADERS_MOC}
|
|
|
|
${fcdpro_FORMS_HEADERS}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(inputfcdpro
|
|
|
|
${QT_LIBRARIES}
|
|
|
|
asound
|
|
|
|
fcdhid
|
2015-09-04 23:50:29 -04:00
|
|
|
fcdlib
|
2015-09-02 21:57:54 -04:00
|
|
|
sdrbase
|
2017-10-22 13:12:43 -04:00
|
|
|
sdrgui
|
2015-09-02 21:57:54 -04:00
|
|
|
)
|
|
|
|
|
2016-10-27 02:38:50 -04:00
|
|
|
qt5_use_modules(inputfcdpro Core Widgets)
|
2016-02-24 05:51:36 -05:00
|
|
|
|
|
|
|
install(TARGETS inputfcdpro DESTINATION lib/plugins/samplesource)
|