2015-09-03 22:10:38 -04:00
|
|
|
project(fcdproplus)
|
|
|
|
|
2017-12-14 15:03:11 -05:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|
|
|
|
2015-09-03 22:10:38 -04:00
|
|
|
set(fcdproplus_SOURCES
|
|
|
|
fcdproplusgui.cpp
|
|
|
|
fcdproplusinput.cpp
|
|
|
|
fcdproplusplugin.cpp
|
2015-09-30 21:37:53 -04:00
|
|
|
fcdproplussettings.cpp
|
2015-09-03 22:10:38 -04:00
|
|
|
fcdproplusthread.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(fcdproplus_HEADERS
|
|
|
|
fcdproplusgui.h
|
|
|
|
fcdproplusinput.h
|
|
|
|
fcdproplusplugin.h
|
2015-09-30 21:37:53 -04:00
|
|
|
fcdproplussettings.h
|
2015-09-03 22:10:38 -04:00
|
|
|
fcdproplusthread.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(fcdproplus_FORMS
|
|
|
|
fcdproplusgui.ui
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
.
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
2019-04-19 02:30:48 -04:00
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
2015-09-03 22:10:38 -04:00
|
|
|
${CMAKE_SOURCE_DIR}/fcdhid
|
2015-09-04 23:50:29 -04:00
|
|
|
${CMAKE_SOURCE_DIR}/fcdlib
|
2015-09-03 22:10:38 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
#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}
|
|
|
|
fcdhid
|
2015-09-04 23:50:29 -04:00
|
|
|
fcdlib
|
2015-09-03 22:10:38 -04:00
|
|
|
sdrbase
|
2017-10-22 13:12:43 -04:00
|
|
|
sdrgui
|
2017-12-14 15:03:11 -05:00
|
|
|
swagger
|
2015-09-03 22:10:38 -04:00
|
|
|
)
|
|
|
|
|
2018-06-12 18:20:51 -04:00
|
|
|
target_link_libraries(inputfcdproplus Qt5::Core Qt5::Widgets)
|
2016-02-24 05:51:36 -05:00
|
|
|
|
|
|
|
install(TARGETS inputfcdproplus DESTINATION lib/plugins/samplesource)
|