体验新版 GitCode,发现更多精彩内容 >>
MESSAGE(STATUS "build parser unit test") # GoogleTest requires at least C++11 SET(CMAKE_CXX_STANDARD 11) AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_LIST) ADD_EXECUTABLE(clientTest ${SOURCE_LIST}) TARGET_LINK_LIBRARIES( clientTest
PUBLIC os util common transport gtest taos qcom
) TARGET_INCLUDE_DIRECTORIES( clientTest PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/client/" PRIVATE "${CMAKE_SOURCE_DIR}/source/libs/client/inc" )