2015-09-03 01:57:54 +00:00
|
|
|
project(fcdpro)
|
|
|
|
|
|
|
|
set(fcdpro_SOURCES
|
2015-09-04 02:10:38 +00:00
|
|
|
fcdprogui.cpp
|
|
|
|
fcdproinput.cpp
|
|
|
|
fcdproplugin.cpp
|
2015-09-30 03:38:58 +00:00
|
|
|
fcdprosettings.cpp
|
2015-09-04 02:10:38 +00:00
|
|
|
fcdprothread.cpp
|
2015-09-03 01:57:54 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(fcdpro_HEADERS
|
2015-09-04 02:10:38 +00:00
|
|
|
fcdprogui.h
|
|
|
|
fcdproinput.h
|
|
|
|
fcdproplugin.h
|
2015-09-30 03:38:58 +00:00
|
|
|
fcdprosettings.h
|
2015-09-04 02:10:38 +00:00
|
|
|
fcdprothread.h
|
2015-09-03 01:57:54 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(fcdpro_FORMS
|
2015-09-04 02:10:38 +00:00
|
|
|
fcdprogui.ui
|
2015-09-03 01:57:54 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
.
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_SOURCE_DIR}/fcdhid
|
2015-09-05 03:50:29 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/fcdlib
|
2015-09-03 01:57:54 +00: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-05 03:50:29 +00:00
|
|
|
fcdlib
|
2015-09-03 01:57:54 +00:00
|
|
|
sdrbase
|
|
|
|
)
|
|
|
|
|
2016-10-27 06:38:50 +00:00
|
|
|
qt5_use_modules(inputfcdpro Core Widgets)
|
2016-02-24 10:51:36 +00:00
|
|
|
|
|
|
|
install(TARGETS inputfcdpro DESTINATION lib/plugins/samplesource)
|