#**************************************************************************** #* Copyright (c) 2023 Open Systems Development B.V. #***************************************************************************** # # Don't call this file directly from cmake. # This file is included from the upper directory. # # Build rules for the MQTT Library add_executable(topictest TopicLengthTest.cpp SledgeHammerTest.cpp ) target_include_directories(topictest PRIVATE ${CMAKE_CIRRENT_SOURECE_DIR} ../include ) target_link_libraries(topictest PRIVATE gmock_main gmock gtest mqtt-cpp ) add_test(NAME topictest COMMAND topictest) set_tests_properties(topictest PROPERTIES WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" )