9 lines
205 B
CMake
9 lines
205 B
CMake
|
cmake_minimum_required(VERSION 2.8)
|
||
|
|
||
|
project(ThreadPool)
|
||
|
add_library(threadpool_lib "src/ThreadPool.cpp")
|
||
|
|
||
|
add_executable(${PROJECT_NAME} "main.cpp")
|
||
|
|
||
|
target_link_libraries(${PROJECT_NAME} threadpool_lib)
|