Study/Linux

Multithreading, C++ 0x11 설정하기

훈스~☆ 2016. 8. 28. 15:50

compile command:

g++  main.cpp -o main.out -pthread -std=c++11

cmake command:

CMAKE_CXX_FLAGS += -pthread

CMAKE_CXX_FLAGS += -std=c++11