made CMakeLists.txt a bit nicer (still need to do something about boost)
This commit is contained in:
parent
3f2587c9e8
commit
347c0efb96
@ -1,9 +1,9 @@
|
|||||||
cmake_minimum_required(VERSION 3.5)
|
cmake_minimum_required(VERSION 3.5)
|
||||||
project(thread_pool)
|
project(thread_pool)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -pthread")
|
||||||
|
|
||||||
set(SOURCE_FILES
|
set(SOURCE_FILES main.cpp)
|
||||||
main.cpp)
|
|
||||||
|
|
||||||
add_executable(thread_pool ${SOURCE_FILES})
|
add_executable(thread_pool ${SOURCE_FILES})
|
Loading…
Reference in New Issue
Block a user