cmake_minimum_required(VERSION 3.15) project(tcptest) message("current dir" ${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../obj/inc) link_directories(${CMAKE_CURRENT_SOURCE_DIR}/../obj/) link_libraries(libGeneral.a) add_executable(tcptest src/tcpclient_test.cpp)