Replace boost thread with std thread for queue; refine cmake files.

This commit is contained in:
Chunting Gu
2018-08-04 11:32:29 +08:00
parent ab781a691f
commit 1b7e1378b4
7 changed files with 318 additions and 258 deletions
+1 -14
View File
@@ -1,19 +1,6 @@
if(UNIX)
add_definitions(-std=c++11)
endif()
set(SRCS
gtest-all.cc
gtest_main.cc
)
#add_definitions(-DLIBCONFIG_EXPORTS -DYY_NO_UNISTD_H -DYY_USE_CONST)
add_library(gtest ${SRCS})
#if(MSVC)
#set_target_properties(libconfig PROPERTIES COMPILE_FLAGS "/wd4290")
#endif()
install(TARGETS gtest DESTINATION .)
add_library(gtest STATIC ${SRCS})
-2
View File
@@ -1,7 +1,5 @@
project(pugixml)
cmake_minimum_required(VERSION 2.8)
set(HEADERS pugixml.hpp pugiconfig.hpp)
set(SOURCES ${HEADERS} pugixml.cpp)