add CMakeLists.txt

This commit is contained in:
ІО-23 Шмуляр Олег 2024-10-14 14:13:20 +03:00
parent 7813f13501
commit cc18c976fe
Signed by: hasslesstech
GPG Key ID: 09745A46126DDD4C
1 changed files with 9 additions and 0 deletions

9
CMakeLists.txt Normal file
View File

@ -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)