Add CMakeLists.txt for builder pattern.
parent
00c235a128
commit
fe85d94f49
|
@ -0,0 +1,8 @@
|
||||||
|
cmake_minimum_required(VERSION 3.15)
|
||||||
|
project(BuilderPattern)
|
||||||
|
set(SRC_LIST main.cpp)
|
||||||
|
|
||||||
|
get_filename_component(FOLDER_NAME ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY)
|
||||||
|
get_filename_component(FOLDER_NAME ${FOLDER_NAME} NAME)
|
||||||
|
set(EXECUTABLE_OUTPUT_PATH ${OUTPUT_DIR}/${FOLDER_NAME})
|
||||||
|
add_executable(app4 ${SRC_LIST})
|
|
@ -7,4 +7,5 @@ message(STATUS "output dir : ${OUTPUT_DIR}")
|
||||||
add_subdirectory(01.SimpleFactory/2.Code/)
|
add_subdirectory(01.SimpleFactory/2.Code/)
|
||||||
add_subdirectory(02.FactoryMethod/2.Code/)
|
add_subdirectory(02.FactoryMethod/2.Code/)
|
||||||
add_subdirectory(03.AbstractFactory/2.Code/)
|
add_subdirectory(03.AbstractFactory/2.Code/)
|
||||||
|
add_subdirectory(04.BuilderPattern/2.Code/)
|
||||||
add_subdirectory(17.IteratorPattern/2.Code/)
|
add_subdirectory(17.IteratorPattern/2.Code/)
|
||||||
|
|
Loading…
Reference in New Issue