sdrangel/plugins/channeltx/modatv/CMakeLists.txt

47 wiersze
749 B
CMake
Czysty Zwykły widok Historia

2017-03-06 02:39:34 +00:00
project(modatv)
set(modatv_SOURCES
atvmod.cpp
atvmodgui.cpp
atvmodplugin.cpp
)
set(modatv_HEADERS
atvmod.h
atvmodgui.h
atvmodplugin.h
)
set(modatv_FORMS
atvmodgui.ui
)
2017-03-08 07:36:28 +00:00
# OpenCV variables defined in /usr/share/OpenCV/OpenCVConfig.cmake (Ubuntu)
2017-03-06 02:39:34 +00:00
include_directories(
.
2017-03-08 07:36:28 +00:00
${OpenCV_INCLUDE_DIRS}
2017-03-06 02:39:34 +00:00
${CMAKE_CURRENT_BINARY_DIR}
)
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
qt5_wrap_ui(modatv_FORMS_HEADERS ${modatv_FORMS})
add_library(modatv SHARED
${modatv_SOURCES}
${modatv_HEADERS_MOC}
${modatv_FORMS_HEADERS}
)
target_link_libraries(modatv
2017-03-08 07:36:28 +00:00
${OpenCV_LIBS}
2017-03-06 02:39:34 +00:00
${QT_LIBRARIES}
sdrbase
)
qt5_use_modules(modatv Core Widgets)
install(TARGETS modatv DESTINATION lib/plugins/channeltx)