18 lines
433 B
CMake
18 lines
433 B
CMake
|
cmake_minimum_required(VERSION 3.28)
|
||
|
project(task1)
|
||
|
|
||
|
set(CMAKE_CXX_STANDARD 20)
|
||
|
|
||
|
add_executable(task1 src/threadpool/main.cpp
|
||
|
src/threadpool/counter.cpp
|
||
|
include/counter.h
|
||
|
src/threadpool/sum.cpp
|
||
|
include/sum.h
|
||
|
src/threadpool/threadPool.cpp
|
||
|
include/threadPool.h)
|
||
|
|
||
|
add_executable(task1_async src/async.cpp
|
||
|
include/async.h
|
||
|
)
|
||
|
add_executable(sync src/sync.cpp include/sync.h)
|