CMake/Utilities/cmcurl/Testing/CMakeLists.txt

20 lines
412 B
CMake
Raw Normal View History

2005-06-24 17:02:17 +04:00
SET(CURL_TESTS
ftpget
ftpgetresp
ftpupload
getinmemory
persistant
sepheaders
simple
)
CONFIGURE_FILE(${LIBCURL_SOURCE_DIR}/Testing/testconfig.h.in
${LIBCURL_BINARY_DIR}/Testing/testconfig.h)
INCLUDE_DIRECTORIES(${LIBCURL_BINARY_DIR}/Testing)
FOREACH(TEST ${CURL_TESTS})
ADD_EXECUTABLE(${TEST} ${TEST}.c)
TARGET_LINK_LIBRARIES(${TEST} cmcurl)
ENDFOREACH(TEST)