-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
30 lines (23 loc) · 1.12 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
cmake_minimum_required(VERSION 3.10)
project(design_patterns)
set(CMAKE_CXX_STANDARD 17)
FIND_PACKAGE(Boost 1.67.0 REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -ggdb3 -Wall -Wextra")
add_definitions(-std=c++17)
add_definitions(-DCMAKE_BUILD_TYPE=Debug)
add_subdirectory(Udemy)
add_subdirectory(app)
# creational
#add_executable(design_patterns main.cpp)
#add_executable(design_patterns creational/abstract_factory.cpp)
#add_executable(design_patterns creational/factory_method.cpp)
#add_executable(design_patterns creational/prototype_pattern.cpp)
#add_executable(design_patterns creational/singleton_pattern.cpp)
#add_executable(design_patterns creational/singleton_pattern_improved.cpp)
#add_executable(design_patterns creational/singleton_pattern_improved_v.cpp)
# structural
#add_executable(design_patterns structural/adapter_pattern.cpp)
#add_executable(design_patterns structural/bridge_pattern.cpp)
#add_executable(design_patterns structural/composite_pattern01.cpp)
#add_executable(design_patterns structural/composite_pattern02.cpp)
#add_executable(design_patterns structural/decorator_pattern.cpp)