51 lines
844 B
CMake
Executable File
51 lines
844 B
CMake
Executable File
#
|
|
# CMakeLists.txt for New SQL Browser
|
|
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
# Created by Mike Wille, SLSE, 2016-02-10
|
|
#
|
|
|
|
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
|
|
)
|
|
|
|
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})
|
|
NGL_TARGET_LINK_LIBRARIES(sqlbrowser
|
|
PUBLIC
|
|
nglapplication
|
|
Qt5::Core
|
|
Qt5::Widgets
|
|
Qt5::Sql
|
|
)
|
|
NGL_INSTALL_TARGET(sqlbrowser)
|