This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
34 lines (27 loc) · 3.44 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# CMakeList.txt: проект CMake для queueHospital; включите исходный код и определения,
# укажите здесь логику для конкретного проекта.
#
cmake_minimum_required (VERSION 3.12)
set(CMAKE_CXX_STANDARD 17)
project ("queueHospital")
add_subdirectory(modules/plibsys plibsys)
add_library(queueAppCommonLib include/common/common.h source/common/Patient.cpp include/common/Patient.h source/common/VipPatient.cpp include/common/VipPatient.h include/common/ConnectionHandler.h source/common/DataConverter.cpp include/common/DataConverter.h source/common/PatientDataConverter.cpp include/common/PatientDataConverter.h)
# Добавьте источник в исполняемый файл этого проекта.
add_executable (queueHospitalServer
"include/common/common.h"
"source/server/QueueHospitalServer.cpp" "include/server/QueueHospitalServer.h"
"include/server/Queue.h"
source/server/ServerConnectionManager.cpp include/server/ServerConnectionManager.h
source/server/PatientRepository.cpp include/server/PatientRepository.h
source/server/ServerConnectionHandler.cpp include/server/ServerConnectionHandler.h
source/server/commands/patient/PatientAuthorization.cpp include/server/commands/patient/PatientAuthorization.h source/server/commands/doctor/DoctorAuthorization.cpp include/server/commands/doctor/DoctorAuthorization.h source/server/commands/common/Authorization.cpp include/server/commands/common/Authorization.h source/server/commands/doctor/DoctorCommandHandler.cpp include/server/commands/doctor/DoctorCommandHandler.h source/server/commands/doctor/ReceivingPatient.cpp include/server/commands/doctor/ReceivingPatient.h source/server/commands/patient/PatientCommandHandler.cpp include/server/commands/patient/PatientCommandHandler.h source/server/PatientQueue.cpp include/server/PatientQueue.h source/server/commands/patient/PatientRegistration.cpp include/server/commands/patient/PatientRegistration.h source/server/commands/patient/VipPatientRegistration.cpp include/server/commands/patient/VipPatientRegistration.h)
add_executable (queueHospitalClient
"include/common/common.h"
"source/client/QueueHospitalClient.cpp" "include/client/QueueHospitalClient.h"
source/client/ClientConnectionHandler.cpp include/client/ClientConnectionHandler.h
source/client/commands/doctor/ReceivingPatient.cpp include/client/commands/doctor/ReceivingPatient.h source/client/commands/common/Authorization.cpp include/client/commands/common/Authorization.h source/client/commands/doctor/DoctorCommandHandler.cpp include/client/commands/doctor/DoctorCommandHandler.h include/common/CommandHandler.h source/client/commands/patient/PatientCommandHandler.cpp include/client/commands/patient/PatientCommandHandler.h source/client/commands/common/Stopping.cpp include/client/commands/common/Stopping.h source/client/commands/patient/PatientRegistration.cpp include/client/commands/patient/PatientRegistration.h source/client/commands/patient/VipPatientRegistration.cpp include/client/commands/patient/VipPatientRegistration.h)
target_link_libraries(queueHospitalServer plibsys)
target_link_libraries(queueHospitalServer queueAppCommonLib)
target_link_libraries(queueHospitalClient plibsys)
target_link_libraries(queueHospitalClient queueAppCommonLib)
# TODO: Добавьте тесты и целевые объекты, если это необходимо.