27 lines
1001 B
CMake
27 lines
1001 B
CMake
###############################################################################
|
|
## Author: Shaun Reed ##
|
|
## Legal: All Content (c) 2021 Shaun Reed, all rights reserved ##
|
|
## About: A project for practicing C++ design patterns ##
|
|
## ##
|
|
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ##
|
|
##############################################################################
|
|
#
|
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(
|
|
#[[NAME]] DesignPatterns
|
|
VERSION 1.0
|
|
DESCRIPTION "A project for practicing various design patterns in C++"
|
|
LANGUAGES CXX
|
|
)
|
|
|
|
add_subdirectory(singleton)
|
|
add_subdirectory(adapter)
|
|
add_subdirectory(bridge)
|
|
add_subdirectory(factory)
|
|
add_subdirectory(prototype)
|
|
add_subdirectory(abstract-factory)
|
|
add_subdirectory(state)
|
|
add_subdirectory(observer)
|
|
add_subdirectory(visitor)
|