1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-27 02:09:14 -05:00
sdrangel/plugins/channelrx/chanalyzer/CMakeLists.txt

49 lines
865 B
CMake
Raw Normal View History

project(chanalyzer)
2017-01-29 13:51:45 -05:00
set(chanalyzer_SOURCES
chanalyzer.cpp
chanalyzergui.cpp
chanalyzerplugin.cpp
chanalyzersettings.cpp
2017-01-29 13:51:45 -05:00
)
set(chanalyzer_HEADERS
chanalyzer.h
chanalyzergui.h
chanalyzerplugin.h
chanalyzersettings.h
2017-01-29 13:51:45 -05:00
)
set(chanalyzer_FORMS
chanalyzergui.ui
2017-01-29 13:51:45 -05:00
)
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})
2017-01-29 13:51:45 -05:00
add_library(chanalyzer SHARED
${chanalyzer_SOURCES}
${chanalyzer_HEADERS_MOC}
${chanalyzer_FORMS_HEADERS}
2017-01-29 13:51:45 -05:00
)
target_link_libraries(chanalyzer
2017-01-29 13:51:45 -05:00
${QT_LIBRARIES}
sdrbase
sdrgui
2017-01-29 13:51:45 -05:00
)
target_link_libraries(chanalyzer Qt5::Core Qt5::Widgets)
2017-01-29 13:51:45 -05:00
install(TARGETS chanalyzer DESTINATION lib/plugins/channelrx)