57 lines
1.2 KiB
CMake
Executable File
57 lines
1.2 KiB
CMake
Executable File
#
|
|
# @RDE_HEADER@
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
# Created by Christian Fröbel, NLSE, 2018-04-19
|
|
#
|
|
|
|
# Make ${Qt6_Gui} optional
|
|
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Gui)
|
|
set(Qt6_Gui ${Qt6_Gui})
|
|
else()
|
|
set(Qt6_Gui "")
|
|
endif()
|
|
|
|
|
|
IF(BUILD_RTI)
|
|
|
|
set(SRCS
|
|
avs_app.cpp
|
|
avs_app.h
|
|
playback_app.cpp
|
|
playback_app.h
|
|
plugin_settings.cpp
|
|
plugin_settings.h
|
|
project_settings.cpp
|
|
project_settings.h
|
|
stream_list_result.h
|
|
stream_list_result.cpp
|
|
)
|
|
|
|
#
|
|
# Shared Lib used by several Plugins.
|
|
# It has a dependency to LtsMultiMonitor and thus cannot be integrated into svcAvmCommon
|
|
# which needs to be built on SV, too.
|
|
#
|
|
NGL_ADD_LIBRARY2(WS AvmShared SHARED ${SRCS})
|
|
# NGL_TARGET_INCLUDE_DIRECTORIES(AvmShared) removed: ../../Services and ../../Common do not
|
|
# exist at those relative paths (pre-existing -Wmissing-include-dirs warnings); nothing includes from them.
|
|
if(QT6_GUI_AVAILABLE)
|
|
NGL_TARGET_LINK_LIBRARIES(AvmShared
|
|
PUBLIC
|
|
Qt6::Core
|
|
svcAvmCommon
|
|
$<IF:$<TARGET_EXISTS:Boost::boost>,Boost::boost,>
|
|
PRIVATE
|
|
LtsMultiMonitor
|
|
LtsUtilsSettings
|
|
${Qt6_Gui}
|
|
nglsettings
|
|
ngltools
|
|
)
|
|
endif()
|
|
NGL_INSTALL_TARGET(AvmShared)
|
|
|
|
ENDIF(BUILD_RTI)
|