13 lines
383 B
CMake
13 lines
383 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
project(hello-world-cpp-logger)
|
|
|
|
|
|
add_library(my_time STATIC my_time.cpp)
|
|
add_library(log_writer STATIC log_writer.cpp)
|
|
add_library(process_launcher STATIC process_launcher.cpp)
|
|
add_library(counter_manager STATIC counter_manager.cpp)
|
|
|
|
add_executable(main main.cpp)
|
|
|
|
target_link_libraries(main my_time log_writer process_launcher counter_manager) |