Files
qt5-legatus-legacy/Lts/Plugins/TakeHomePackageManager/THP2/Common2/CMakeLists.txt
T
2026-08-13 18:33:10 +02:00

47 lines
1.0 KiB
CMake
Executable File

#
# $Id: CMakeLists.txt 51804 2020-07-31 04:47:28Z fritsche_h $
# $HeadURL: svn://slssvn/TDS/branches/product/iterations/21_03_salted_caramel/Lts/Plugins/TakeHomePackageManager/CMakeLists.txt $
# $Author: fritsche_h $
#
# Created by Mike Wille, SLTE, 2024-01-11
#
SET(src
logger.cpp
logger.h
tpm_exported_scripts_model.cpp
tpm_exported_scripts_model.h
tpm_process_dialog.cpp
tpm_process_dialog.h
tpm_topics_model.cpp
tpm_topics_model.h
tpm_file_copy.cpp
tpm_file_copy.h
)
QT5_WRAP_UI(src
tpm_process_dialog.ui
)
NGL_ADD_LIBRARY2(WS Thp2Common SHARED ${src})
NGL_TARGET_COMPILE_DEFINITIONS(Thp2Common PRIVATE L=QStringLiteral)
NGL_TARGET_INCLUDE_DIRECTORIES(Thp2Common
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/../
${CMAKE_CURRENT_BINARY_DIR}/../ # export file
)
NGL_TARGET_LINK_LIBRARIES(Thp2Common
PUBLIC
Thp2CommonCore
PRIVATE
Qt5::Core
Qt5::Concurrent
NGLLogger
LtsSession
LtsUtilsCoreHeaderOnly
TopicEditorBase # topic types
)
NGL_INSTALL_TARGET(Thp2Common)