generallib/test/CMakeLists.txt

9 lines
297 B
CMake
Raw Normal View History

2020-04-20 17:15:13 +00:00
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)