2023-08-06 08:38:09 +00:00
|
|
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(cplusplus_design_pattern)
|
|
|
|
|
2023-08-08 14:10:55 +00:00
|
|
|
set(OUTPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/bin/)
|
|
|
|
message(STATUS "output dir : ${OUTPUT_DIR}")
|
2023-08-06 08:38:09 +00:00
|
|
|
|
|
|
|
add_subdirectory(01.SimpleFactory/2.Code/)
|
|
|
|
add_subdirectory(02.FactoryMethod/2.Code/)
|
2023-08-08 14:10:55 +00:00
|
|
|
add_subdirectory(03.AbstractFactory/2.Code/)
|
2023-08-09 15:04:52 +00:00
|
|
|
add_subdirectory(04.BuilderPattern/2.Code/)
|
2023-08-20 01:32:13 +00:00
|
|
|
add_subdirectory(05.PrototypePattern/2.Code/)
|
2023-08-20 01:39:03 +00:00
|
|
|
add_subdirectory(06.Singleton/2.Code/)
|
|
|
|
add_subdirectory(07.AdapterPattern/2.Code/)
|
|
|
|
add_subdirectory(08.BridgePattern/2.Code/)
|
2023-08-24 13:59:41 +00:00
|
|
|
add_subdirectory(09.CompositePattern/2.Code/)
|
|
|
|
add_subdirectory(10.DecoratorPattern/2.Code/)
|
|
|
|
add_subdirectory(11.FacadePattern/2.Code/)
|
|
|
|
add_subdirectory(12.FlyweightPattern/2.Code/)
|
|
|
|
add_subdirectory(13.ProxyPattern/2.Code/)
|
2023-08-08 14:10:55 +00:00
|
|
|
add_subdirectory(17.IteratorPattern/2.Code/)
|