2016-05-02 14:49:52 +00:00
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
project(thread_pool)
|
|
|
|
|
2016-11-12 09:54:49 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -pthread")
|
2016-05-02 14:49:52 +00:00
|
|
|
|
2016-11-12 09:54:49 +00:00
|
|
|
set(SOURCE_FILES main.cpp)
|
2016-05-02 14:49:52 +00:00
|
|
|
|
2016-11-12 09:54:49 +00:00
|
|
|
add_executable(thread_pool ${SOURCE_FILES})
|