summaryrefslogtreecommitdiff
path: root/graphs/cpp/logger/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'graphs/cpp/logger/CMakeLists.txt')
-rw-r--r--graphs/cpp/logger/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/graphs/cpp/logger/CMakeLists.txt b/graphs/cpp/logger/CMakeLists.txt
new file mode 100644
index 0000000..3a705e9
--- /dev/null
+++ b/graphs/cpp/logger/CMakeLists.txt
@@ -0,0 +1,8 @@
+cmake_minimum_required(VERSION 3.21.2)
+project(logger)
+
+add_compile_options(-Wall -Wextra -Werror -pedantic -std=c++20 -Wold-style-cast)
+
+add_library(logger_a SHARED logger.cc)
+add_executable(logger main.cc)
+target_link_libraries(logger PUBLIC logger_a) \ No newline at end of file