2015-06-21 06:46:47 -04:00
|
|
|
project(chanalyzer)
|
|
|
|
|
|
|
|
set(chanalyzer_SOURCES
|
|
|
|
chanalyzer.cpp
|
|
|
|
chanalyzergui.cpp
|
|
|
|
chanalyzerplugin.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(chanalyzer_HEADERS
|
|
|
|
chanalyzer.h
|
|
|
|
chanalyzergui.h
|
|
|
|
chanalyzerplugin.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(chanalyzer_FORMS
|
|
|
|
chanalyzergui.ui
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
.
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
#include(${QT_USE_FILE})
|
|
|
|
add_definitions(${QT_DEFINITIONS})
|
|
|
|
add_definitions(-DQT_PLUGIN)
|
|
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
|
|
|
|
#qt5_wrap_cpp(chanalyzer_HEADERS_MOC ${chanalyzer_HEADERS})
|
|
|
|
qt5_wrap_ui(chanalyzer_FORMS_HEADERS ${chanalyzer_FORMS})
|
|
|
|
|
|
|
|
add_library(chanalyzer SHARED
|
|
|
|
${chanalyzer_SOURCES}
|
|
|
|
${chanalyzer_HEADERS_MOC}
|
|
|
|
${chanalyzer_FORMS_HEADERS}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(chanalyzer
|
|
|
|
${QT_LIBRARIES}
|
|
|
|
sdrbase
|
2017-10-22 13:12:43 -04:00
|
|
|
sdrgui
|
2015-06-21 06:46:47 -04:00
|
|
|
)
|
|
|
|
|
2016-10-27 02:46:06 -04:00
|
|
|
qt5_use_modules(chanalyzer Core Widgets )
|
2016-02-24 05:51:36 -05:00
|
|
|
|
2016-10-02 07:18:07 -04:00
|
|
|
install(TARGETS chanalyzer DESTINATION lib/plugins/channelrx)
|