CMakeLists.txt 309 字节
Newer Older
H
more  
hzcheng 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_LIST)

message(STATUS "COMMON: ${SOURCE_LIST}")

add_executable(commonTests ${SOURCE_LIST})

target_link_libraries(commonTests gtest gtest_main pthread common)

add_test(
    NAME
      unit   
    COMMAND
      ${CMAKE_CURRENT_BINARY_DIR}/commonTests
)