Bring the validation-scope line (in-tree Jenkins CI copy, lcov coverage wiring, step-by-step release-scope README, TetraIF unit tests, the LogView runtime icon/resource fix, Dockerfile, rpmbuild and the new_docker_build.sh driver with the DEB output path) on top of the XmlPatterns branch pruned to the Release 2 scope. Conflict policy: - Out-of-scope targets/modules: keep the prune (deletion wins). - In-scope files that validation had deleted: restored from story/release-2-cleanup (the Release 2 closure, with the pruned-module guards). - In-scope sources carrying migration work: XmlPatterns versions (Qt XmlPatterns rework on QDomDocument, DDS member and logger fixes, first-build fixes). - Scope-aware CMakeLists (top level, PluginInterfaces, LtsWidgets) and .envrc: story/release-2-cleanup / ours versions.
72 lines
1.3 KiB
CMake
Executable File
72 lines
1.3 KiB
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
# Created by Malte Schroeder, SLSE, 2016-03-03
|
|
#
|
|
|
|
# Make ${Qt6_Widgets} optional
|
|
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets)
|
|
set(Qt6_Widgets ${Qt6_Widgets})
|
|
else()
|
|
set(Qt6_Widgets "")
|
|
endif()
|
|
|
|
|
|
set(CMAKE_AUTOUIC_SEARCH_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/ui)
|
|
|
|
SET(logView_SRCS
|
|
cmbfilterwidget.h
|
|
datafilterwidget.cpp
|
|
datafilterwidget.h
|
|
datefilterwidget.cpp
|
|
datefilterwidget.h
|
|
filterwidget.cpp
|
|
filterwidget.h
|
|
levelfilterwidget.cpp
|
|
levelfilterwidget.h
|
|
locationfilterwidget.cpp
|
|
locationfilterwidget.h
|
|
loggerfilterwidget.cpp
|
|
loggerfilterwidget.h
|
|
logviewtablemodel.cpp
|
|
logviewtablemodel.h
|
|
logviewtableview.cpp
|
|
logviewtableview.h
|
|
lefilterwidget.cpp
|
|
lefilterwidget.h
|
|
main.cpp
|
|
mainwindow.cpp
|
|
mainwindow.h
|
|
sortfiltermodel.cpp
|
|
sortfiltermodel.h
|
|
)
|
|
|
|
NGL_WRAP_UI(logView_SRCS
|
|
ui/mainwindow.ui
|
|
ui/datafilterwidget.ui
|
|
ui/datefilterwidget.ui
|
|
ui/levelfilterwidget.ui
|
|
ui/locationfilterwidget.ui
|
|
ui/loggerfilterwidget.ui
|
|
)
|
|
|
|
NGL_ADD_EXECUTABLE(TOOLSSV NO_TRANSLATION LogViewer ${logView_SRCS})
|
|
|
|
if(QT6_GUI_AVAILABLE)
|
|
NGL_TARGET_LINK_LIBRARIES(LogViewer
|
|
${Qt6_Widgets}
|
|
Qt6::Core
|
|
nglapplication
|
|
nglwidgets
|
|
NGLLogger
|
|
)
|
|
endif()
|
|
|
|
NGL_INSTALL_TARGET(LogViewer)
|
|
|
|
#
|
|
# Unit tests
|
|
#
|
|
ADD_SUBDIRECTORY(unit-test)
|