68 lines
1.2 KiB
CMake
Executable File
68 lines
1.2 KiB
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
# Created by Hanna Rathje, SLSE, 2017-12-14
|
|
#
|
|
|
|
SET(SRCS_copy
|
|
copy_exercise.cpp
|
|
copy_exercise.h
|
|
exercise_table_generator.cpp
|
|
exercise_table_generator.h
|
|
settings.cpp
|
|
settings.h
|
|
)
|
|
NGL_ADD_LIBRARY(AAR SV WS dbAdminCopyExercise ${SRCS_copy})
|
|
NGL_TARGET_LINK_LIBRARIES(dbAdminCopyExercise
|
|
PUBLIC
|
|
Qt5::Core
|
|
Qt5::Sql
|
|
codegen_base
|
|
ngldb
|
|
NGLLogger
|
|
nglsettings
|
|
)
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(dbAdminCopyExercise
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
)
|
|
|
|
SET(SRCS
|
|
local_databases_model.cpp
|
|
local_databases_model.h
|
|
logger.cpp
|
|
logger.h
|
|
db_administration.cpp
|
|
db_administration.h
|
|
main.cpp
|
|
server_databases_model.cpp
|
|
server_databases_model.h
|
|
showLogFile.cpp
|
|
showLogFile.h
|
|
|
|
)
|
|
|
|
NGL_WRAP_UI(SRCS ui/db_administration.ui ui/showLogFile.ui)
|
|
|
|
NGL_ADD_TOOL_ICON(dbAdministration)
|
|
NGL_ADD_EXECUTABLE(AAR SV dbAdministration ${SRCS})
|
|
NGL_TARGET_LINK_LIBRARIES(dbAdministration
|
|
dbAdminCopyExercise
|
|
Qt5::Widgets
|
|
Qt5::Core
|
|
Qt5::Network
|
|
nglapplication
|
|
ngldb
|
|
nglcoreapplication
|
|
ngltools
|
|
ngltranslator
|
|
nglwidgets
|
|
NGLLogger
|
|
LtsCommandLineParser
|
|
)
|
|
|
|
NGL_INSTALL_TARGET(dbAdministration)
|
|
NGL_INSTALL(SV AAR FILES log4cxx_dba.props DESTINATION bin)
|
|
|