Self-complete

This commit is contained in:
2026-05-22 14:49:02 +03:00
parent 0e74a9eb90
commit a5d6b3af21
47 changed files with 7003 additions and 570 deletions
+37 -17
View File
@@ -3,22 +3,42 @@ project(Lab8)
set(CMAKE_CXX_STANDARD 20)
include(FetchContent)
FetchContent_Declare(
nlohmann_json
GIT_REPOSITORY https://github.com/nlohmann/json.git
GIT_TAG v3.11.3
)
FetchContent_MakeAvailable(nlohmann_json)
add_executable(Lab8
src/TaxRates.h
src/Property.h
src/Property.cpp
src/Apartment.cpp
src/Apartment.h
src/Car.cpp
src/Car.h
src/CountryHouse.cpp
src/CountryHouse.h
src/main.cpp
src/Property/Property.cpp
src/Property/Property.h
src/Apartment/Apartment.cpp
src/Apartment/Apartment.h
src/Car/Car.cpp
src/Car/Car.h
src/CountryHouse/CountryHouse.cpp
src/CountryHouse/CountryHouse.h
src/Owner/Owner.cpp
src/Owner/Owner.h
src/TaxRates/TaxRates.h
src/Human/Human.cpp
src/Human/Human.h
src/City/City.cpp
src/City/City.h
src/PropertyFactory/PropertyFactory.cpp
src/PropertyFactory/PropertyFactory.h)
src/Owner.cpp
src/Owner.h
src/Ijsonio.cpp
src/Ijsonio.h
src/PropertySimpleFactory.cpp
src/PropertySimpleFactory.h
src/TaxService.cpp
src/TaxService.h
src/tinyxml2.cpp
src/tinyxml2.h
src/Ixmlio.cpp
src/Ixmlio.h
src/FileType.h
src/FileTypeFactory.h
src/FileTypeFactory.cpp
)
target_link_libraries(Lab8 PRIVATE nlohmann_json::nlohmann_json)