TarsCloud_TarsCpp/test_deprecated/testUtil/CMakeLists.txt
2020-02-01 14:24:43 +08:00

17 lines
379 B
CMake

#include_directories(${util_SOURCE_DIR}/include)
#include_directories(${MYSQL_DIR_INC})
link_libraries(tarsutil)
#link_libraries(${MYSQL_DIR_LIB}/libmysqlclient.a)
#link_libraries(pthread z dl rt)
FILE(GLOB_RECURSE SRC_LIST "*.cpp")
foreach(FILE ${SRC_LIST})
get_filename_component(TARGETNAME ${FILE} NAME_WE)
add_executable(${TARGETNAME} ${FILE})
endforeach(FILE)