Add example for classic singleton

This commit is contained in:
2021-05-11 12:21:03 -04:00
parent 248e48d5c9
commit 9bb2f9867d
6 changed files with 65 additions and 3 deletions

View File

@@ -16,5 +16,6 @@ project(
)
add_library(singleton "singleton.cpp")
add_library(singleton-pointer "singleton-pointer.cpp")
add_executable(singleton-test "main.cpp")
target_link_libraries(singleton-test singleton)
target_link_libraries(singleton-test singleton singleton-pointer)