CMakeLists.txt 248 B

12345678
  1. SET(LIB_NAME TestTcp)
  2. AUX_SOURCE_DIRECTORY(. SOURCES)
  3. file(GLOB HEADERS "*.h")
  4. add_executable(${LIB_NAME} ${SOURCES} ${HEADERS})
  5. set_property(TARGET ${LIB_NAME} PROPERTY FOLDER Tests)
  6. target_link_libraries(${LIB_NAME} PRIVATE proto MqttClient)