From cc18c976fe067c3b4c46975ca9e42b0fbea54b21 Mon Sep 17 00:00:00 2001 From: hasslesstech Date: Mon, 14 Oct 2024 14:13:20 +0300 Subject: [PATCH] add CMakeLists.txt --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..f5f22fe --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 3.25.1) +project(test) + +include_directories(lib/) +add_library(printer STATIC lib/printer.h lib/printer.cpp) + +add_executable(main src/main.cpp) + +target_link_libraries(main printer)