thread-pool/CMakeLists.txt

10 lines
241 B
CMake

cmake_minimum_required(VERSION 3.5)
project(thread_pool)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -pthread")
set(SOURCE_FILES thread_pool.hpp test.cpp)
add_executable(thread_pool ${SOURCE_FILES})