2020-03-27 14:49:12 +08:00
|
|
|
#add flags
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-sign-compare")
|
|
|
|
|
2021-01-23 20:20:31 +08:00
|
|
|
if(ENABLE_TESTCASES)
|
2020-12-01 18:35:15 +08:00
|
|
|
add_subdirectory(ut)
|
2021-01-23 20:20:31 +08:00
|
|
|
elseif(ENABLE_CPP_ST)
|
2020-12-30 09:40:31 +08:00
|
|
|
add_subdirectory(st/cpp)
|
2021-01-23 20:20:31 +08:00
|
|
|
endif()
|