You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
412 B

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)