1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 16:38:37 -05:00
sdrangel/plugins/samplesource/v4l-msi/CMakeLists.txt

51 lines
759 B
CMake
Raw Normal View History

2014-11-03 12:13:32 -05:00
project(v4l)
set(v4l_SOURCES
v4lgui.cpp
v4linput.cpp
v4lplugin.cpp
v4lthread.cpp
2014-11-05 07:34:33 -05:00
v4lsource.cpp
2014-11-03 12:13:32 -05:00
)
2014-12-01 14:49:00 -05:00
set(v4l_HEADERS
2014-11-03 12:13:32 -05:00
v4lgui.h
v4linput.h
v4lplugin.h
v4lthread.h
)
set(v4l_FORMS
v4lgui.ui
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/include-gpl
2014-11-06 16:44:38 -05:00
${LIBV4L2H}
2014-11-03 12:13:32 -05:00
)
#include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
2014-11-05 07:34:33 -05:00
#qt4_wrap_cpp(v4l_HEADERS_MOC ${v4l_HEADERS})
2014-11-03 12:13:32 -05:00
qt5_wrap_ui(v4l_FORMS_HEADERS ${v4l_FORMS})
add_library(inputv4l SHARED
${v4l_SOURCES}
${v4l_HEADERS_MOC}
${v4l_FORMS_HEADERS}
)
target_link_libraries(inputv4l
${QT_LIBRARIES}
2014-11-06 16:44:38 -05:00
${LIBV4L2}
2014-11-03 12:13:32 -05:00
sdrbase
)
qt5_use_modules(inputv4l Core Widgets OpenGL Multimedia)