You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
333 B
CMake
13 lines
333 B
CMake
# Unit test
|
|
set(UT_SRCS
|
|
rest_service_manager_test.cc
|
|
)
|
|
|
|
set(UT_TARGET_NAME webcc_unittest)
|
|
|
|
add_executable(${UT_TARGET_NAME} ${UT_SRCS})
|
|
target_link_libraries(${UT_TARGET_NAME} webcc gtest ${Boost_LIBRARIES})
|
|
target_link_libraries(${UT_TARGET_NAME} "${CMAKE_THREAD_LIBS_INIT}")
|
|
|
|
add_test(${UT_TARGET_NAME} ${UT_TARGET_NAME})
|