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.
69 lines
1.1 KiB
CMake
Executable File
69 lines
1.1 KiB
CMake
Executable File
#
|
|
# CMakeLists.txt for New SQL Browser
|
|
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
# Created by Mike Wille, SLSE, 2016-02-10
|
|
#
|
|
|
|
# Make ${Qt6_Widgets} optional
|
|
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets)
|
|
set(Qt6_Widgets ${Qt6_Widgets})
|
|
else()
|
|
set(Qt6_Widgets "")
|
|
endif()
|
|
|
|
|
|
SET(my_SRCS
|
|
main.cpp
|
|
LoginWnd.cpp
|
|
LoginWnd.h
|
|
BrowserWnd.cpp
|
|
BrowserWnd.h
|
|
WaitWnd.cpp
|
|
WaitWnd.h
|
|
Query.cpp
|
|
Query.h
|
|
QueryThread.cpp
|
|
QueryThread.h
|
|
DataModel.cpp
|
|
DataModel.h
|
|
PresetManager.cpp
|
|
PresetManager.h
|
|
AddModel.cpp
|
|
AddModel.h
|
|
AddLine.cpp
|
|
AddLine.h
|
|
)
|
|
|
|
SET(my_UICS
|
|
ui/LoginUi.ui
|
|
ui/BrowserWndUi.ui
|
|
ui/WaitWndUi.ui
|
|
ui/QueryUi.ui
|
|
ui/AddLinesUi.ui
|
|
)
|
|
|
|
set(CMAKE_AUTOUIC_SEARCH_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/ui)
|
|
|
|
NGL_ADD_TOOL_ICON(my_SRCS "sql")
|
|
NGL_WRAP_UI(my_SRCS ${my_UICS})
|
|
NGL_ADD_EXECUTABLE(AAR SV WS NO_TRANSLATION sqlbrowser ${my_SRCS} ${my_UICS})
|
|
|
|
if(QT6_GUI_AVAILABLE)
|
|
NGL_TARGET_LINK_LIBRARIES(sqlbrowser
|
|
PUBLIC
|
|
nglapplication
|
|
Qt6::Core
|
|
${Qt6_Widgets}
|
|
Qt6::Sql
|
|
)
|
|
endif()
|
|
NGL_INSTALL_TARGET(sqlbrowser)
|
|
|
|
#
|
|
# Unit tests
|
|
#
|
|
ADD_SUBDIRECTORY(unit-test)
|