Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / src / CMakeLists.txt
blobc0a11370f08027580069912bc1ff0c9c61fd725a
1 # libcurl has sources that provide functions named curlx_* that aren't part of
2 # the official API, but we re-use the code here to avoid duplication.
3 set(CURLX_ONES 
4   ${CURL_SOURCE_DIR}/lib/strtoofft.c 
5   ${CURL_SOURCE_DIR}/lib/strdup.c
6   )
8 set(CURL_SOURCES
9   main.c hugehelp.c urlglob.c writeout.c writeenv.c 
10   getpass.c homedir.c curlutil.c)
12 set(CURL_HFILES hugehelp.h setup.h config-win32.h config-mac.h 
13   config-riscos.h urlglob.h version.h 
14   writeout.h writeenv.h getpass.h homedir.h curlutil.h
17 add_executable(curl ${CURL_SOURCES} ${CURLX_ONES} ${CURL_HFILES})
18 target_link_libraries(curl cmcurl)