Support terminal colors for logger.

This commit is contained in:
Chunting Gu
2019-04-07 12:25:56 +08:00
parent 6f7acfc442
commit 0ad277322f
7 changed files with 173 additions and 19 deletions
+5
View File
@@ -9,6 +9,7 @@ endif()
project(webcc)
option(WEBCC_ENABLE_SOAP "Enable SOAP support (need pugixml)?" ON)
option(WEBCC_ENABLE_TEST "Build test?" ON)
option(WEBCC_ENABLE_UNITTEST "Build unit test?" ON)
option(WEBCC_ENABLE_EXAMPLES "Build examples?" ON)
@@ -140,6 +141,10 @@ if(WEBCC_ENABLE_EXAMPLES)
add_subdirectory(examples)
endif()
if(WEBCC_ENABLE_TEST)
add_subdirectory(test)
endif()
if(WEBCC_ENABLE_UNITTEST)
add_subdirectory(${THIRD_PARTY_DIR}/src/gtest)
add_subdirectory(unittest)