- TopicEditorBase hängt von LtsScriptTimeline ab (nur mit BUILD_RTI) - AreaEffectSimulation hängt von svcAesCommon ab (RTI-generierte Dateien) - Beide Module werden nur mit BUILD_RTI=ON gebaut - Vermeidet Build-Fehler wenn RTI nicht installiert ist
51 lines
917 B
CMake
Executable File
51 lines
917 B
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
# Created by Mike Wille, SLSE, 2017-04-27
|
|
#
|
|
|
|
|
|
# Topic Editor Interface
|
|
ADD_INTERFACE_LIBRARY(
|
|
TopicEditorInterface
|
|
${CMAKE_CURRENT_SOURCE_DIR}/topic_editor_interface.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
Qt6::Core
|
|
)
|
|
|
|
# Library
|
|
SET(topic_editor_base_SRCS
|
|
topic_editor_base.cpp
|
|
topic_editor_base.h
|
|
topic_editor_utils.cpp
|
|
topic_editor_utils.h
|
|
topic_preview_widget.cpp
|
|
topic_preview_widget.h
|
|
topic_previewer.cpp
|
|
topic_previewer.h
|
|
)
|
|
|
|
NGL_WRAP_UI(topic_editor_base_SRCS
|
|
topic_preview_widget.ui
|
|
)
|
|
|
|
IF(BUILD_RTI)
|
|
NGL_ADD_LIBRARY2(WS TopicEditorBase SHARED ${topic_editor_base_SRCS})
|
|
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(TopicEditorBase
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
${CMAKE_CURRENT_BINARY_DIR}/../ # auto-export file
|
|
)
|
|
|
|
NGL_TARGET_LINK_LIBRARIES(TopicEditorBase
|
|
LtsScriptTimeline
|
|
Qt6::Widgets
|
|
Qt6::Core
|
|
LtsWidgets
|
|
LtsUtilsCore
|
|
)
|
|
ENDIF(BUILD_RTI)
|