sp-kr-part2/CMakeLists.txt

10 lines
210 B
CMake

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)