hello-world-cpp/task_3/CMakeLists.txt

11 lines
263 B
CMake
Raw Normal View History

2025-01-10 14:44:36 +10:00
cmake_minimum_required(VERSION 3.13)
2025-01-09 22:37:31 +10:00
2025-01-10 14:44:36 +10:00
project(hello-world-cpp-logger)
2025-01-09 22:37:31 +10:00
2025-01-10 14:44:36 +10:00
add_library(log_writer STATIC log_writer.cpp)
add_library(process_launcher STATIC process_launcher.cpp)
2025-01-09 22:37:31 +10:00
2025-01-10 14:44:36 +10:00
add_executable(main main.cpp)
2025-01-09 22:37:31 +10:00
2025-01-10 14:44:36 +10:00
target_link_libraries(main log_writer process_launcher)