- enable_testing()
- include_directories(
- ${LIBNFC_CPPTOOLS_INCLUDE_PATH}
- )
-
- message(STATUS "include path: " ${LIBNFC_CPPTOOLS_INCLUDE_PATH})
-
- find_package (Threads)
- add_executable(${PROJECT_NAME}-test
- test-main.cpp
- )
-
- target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME} gtest pthread)
- add_test(${PROJECT_NAME}-test ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-test)
|