Refine CMake, update UT.

This commit is contained in:
Chunting Gu
2018-04-13 12:50:39 +08:00
parent 803ae3eb5f
commit 20721c2423
11 changed files with 103 additions and 101 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
if(UNIX)
add_definitions(-std=c++11)
endif()
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
file(GLOB SRCS *.cc *.h)