📄 readme
字号:
Author: J鰎n HartrothDESCRIPTION(If you're only looking for precompiled win32 binaries, go visithttp://curl.haxx.se/download.html)Packaging of the curl binaries for Win32 should at this point in time be basedon the InfoZip (zip/unzip) archiver family as the de-facto standard forWindows archives. A package should contain the main binary curl.exe along withthe appropriate documentation and license information files. For developmentreleases, you should also include the header directory and probably thecompiled binaries of libcurl and the appropriate Makefiles/project definitionfiles for the compiler used.A simple packaging mechanism can be based on a set of batch files which callzip.exe with the appropriate files from the curl distribution - see thesamples included below (Long lines have been split with "\" as the splitmarker, you'll want to rejoin the pieces to be all on one line in the batchfile). Call any of these batch files - after compiling the curl binaries -with a single parameter specifying the name of the archive file to be created.It is implicitely assumed that all of the binary files (curl.exe, libcurl.a,etc) have previously been copied to the main directory of the curl sourcepackage (the directory where the main README resides), because that is wherethey should end up in the zip archive. The archive should *not* be built withabsolute path information because the user will want to locally extract thearchive contents and shift the binaries to his executable directory.SCRIPT_TEMPLATEScurlpkg.bat: zip -9 %1 curl.exe CHANGES LEGAL MPL-1.0.txt README \ docs/FAQ docs/FEATURES docs/README.curl docs/README.win32 docs/TODOcurldevpkg.bat: zip -9 %1 curl.exe include\README include\curl\*.h CHANGES docs\* \ curl.spec curl-ssl.spec LEGAL lib/Makefile.m32 src/Makefile.m32 \ libcurl.a libcurl.dll libcurldll.a MPL-1.0.txt READMEPROCEDURE_EXAMPLEA standard packaging routine (for MingW32) using the above batch files couldgo like this:(No SSL) (With SSL)cd <curl-sourcedir>\lib cd <curl-sourcedir>\libmake -f Makefile.m32 make -f Makefile.m32 SSL=1cd ..\src cd ..\srcmake -f Makefile.m32 make -f Makefile.m32 SSL=1cd .. cd ..copy lib\libcurl.a . copy lib\libcurl.a .copy src\curl.exe . copy src\curl.exe .curlpkg curl-win32-nossl.zip curlpkg curl-win32-ssl.zip
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -