From 53b6b66cc81b7f9ec8ebf93862c01b4ec7985739 Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Fri, 28 Apr 2023 22:26:16 +0200 Subject: [PATCH] Forgotten file. --- services/CMakeLists.txt | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 services/CMakeLists.txt diff --git a/services/CMakeLists.txt b/services/CMakeLists.txt new file mode 100644 index 0000000..868192f --- /dev/null +++ b/services/CMakeLists.txt @@ -0,0 +1,46 @@ +cmake_minimum_required(VERSION 3.24) +project(services) + +include(../3rdparty/QxOrm/QxOrm.cmake) + +set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ../plugins) + +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +find_package(Qt6 COMPONENTS + Core + Gui + Widgets + REQUIRED) + +add_library(services SHARED + accserviceform.cpp + accserviceform.h + accserviceform.ui + accservicegrid.cpp + accservicegrid.h + accservicestablemodel.cpp + accservicestablemodel.h + services_global.h + services.cpp + services.h + servicesrc.qrc + data/accservice.cpp + data/accservice.h) + +target_compile_definitions(services PRIVATE -DSERVICES_LIBRARY) + +include_directories(../core) + +target_link_libraries(services + Qt::Core + Qt::Gui + Qt::Widgets + qdecimal + decnumber + QxOrm + core + )