1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 20:31:53 -05:00
sdrangel/plugins/channeltx/modatv/CMakeLists.txt

54 lines
916 B
CMake
Raw Normal View History

2017-03-05 21:39:34 -05:00
project(modatv)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
2017-03-05 21:39:34 -05:00
set(modatv_SOURCES
atvmod.cpp
atvmodgui.cpp
atvmodplugin.cpp
2017-10-21 13:13:14 -04:00
atvmodsettings.cpp
2017-03-05 21:39:34 -05:00
)
set(modatv_HEADERS
atvmod.h
atvmodgui.h
atvmodplugin.h
2017-10-21 13:13:14 -04:00
atvmodsettings.h
2017-03-05 21:39:34 -05:00
)
set(modatv_FORMS
atvmodgui.ui
)
2017-03-08 02:36:28 -05:00
# OpenCV variables defined in /usr/share/OpenCV/OpenCVConfig.cmake (Ubuntu)
2017-03-05 21:39:34 -05:00
include_directories(
.
2017-03-08 02:36:28 -05:00
${OpenCV_INCLUDE_DIRS}
2017-03-05 21:39:34 -05:00
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
2017-03-05 21:39:34 -05:00
)
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 02:36:28 -05:00
${OpenCV_LIBS}
2017-03-05 21:39:34 -05:00
${QT_LIBRARIES}
sdrbase
sdrgui
swagger
2017-03-05 21:39:34 -05:00
)
qt5_use_modules(modatv Core Widgets)
install(TARGETS modatv DESTINATION lib/plugins/channeltx)