Add CMakeLists.txt part 4.
parent
ff12528173
commit
00569378c4
|
@ -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(app9 ${SRC_LIST})
|
|
@ -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(app10 ${SRC_LIST})
|
|
@ -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(app11 ${SRC_LIST})
|
|
@ -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(app12 ${SRC_LIST})
|
|
@ -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(app13 ${SRC_LIST})
|
|
@ -12,4 +12,9 @@ add_subdirectory(05.PrototypePattern/2.Code/)
|
||||||
add_subdirectory(06.Singleton/2.Code/)
|
add_subdirectory(06.Singleton/2.Code/)
|
||||||
add_subdirectory(07.AdapterPattern/2.Code/)
|
add_subdirectory(07.AdapterPattern/2.Code/)
|
||||||
add_subdirectory(08.BridgePattern/2.Code/)
|
add_subdirectory(08.BridgePattern/2.Code/)
|
||||||
|
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/)
|
||||||
add_subdirectory(17.IteratorPattern/2.Code/)
|
add_subdirectory(17.IteratorPattern/2.Code/)
|
||||||
|
|
Loading…
Reference in New Issue