aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-30 04:13:31 +0000
committerYang Tse <yangsita@gmail.com>2008-08-30 04:13:31 +0000
commit6fb5888e5518c652470b3e8491f840c021611708 (patch)
tree1ca4f6cf9ce3610811201267b7dd488404c48a88
parentb5810dfe9d7a6b3a81040d98904d0d346794dbb6 (diff)
vc6curl.dsw and MSVC 6 IDE build directions
-rw-r--r--Makefile.am3
-rw-r--r--docs/INSTALL39
-rw-r--r--vc6curl.dsw44
3 files changed, 79 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 9adb8dafe..5e3fcfdc3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,8 @@ AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = CHANGES COPYING maketgz reconf Makefile.dist curl-config.in \
- curl-style.el sample.emacs RELEASE-NOTES buildconf buildconf.bat libcurl.pc.in
+ curl-style.el sample.emacs RELEASE-NOTES buildconf buildconf.bat \
+ libcurl.pc.in vc6curl.dsw
bin_SCRIPTS = curl-config
diff --git a/docs/INSTALL b/docs/INSTALL
index 721636c5a..92484ad7d 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -287,6 +287,37 @@ Win32
at runtime.
Run 'nmake vc-ssl-zlib' to build with both ssl and zlib support.
+ MSVC 6 IDE
+ ----------
+
+ A minimal VC++ 6.0 reference workspace (vc6curl.dsw) is available with the
+ source distribution archive to allow proper building of the two included
+ projects, the libcurl library and the curl tool.
+
+ 1) Open the vc6curl.dsw workspace with MSVC6's IDE.
+ 2) Select 'Build' from top menu.
+ 3) Select 'Batch Build' from dropdown menu.
+ 4) Make sure that the eight project configurations are 'checked'.
+ 5) Click on the 'Build' button.
+ 6) Once the eight project configurations are built you are done.
+
+ Dynamic and static libcurl libraries are built in debug and release flavours,
+ and can be located each one in its own subdirectory, DLL-Debug, DLL-Release,
+ LIB-Debug and LIB-Release, all of them below the 'lib' subdirectory.
+
+ In the same way four curl executables are created, each using its respective
+ library. The resulting curl executables are located in its own subdirectory,
+ DLL-Debug, DLL-Release, LIB-Debug and LIB-Release, below the 'src' subdir.
+
+ These reference VC++ 6.0 configurations are generated using the dynamic CRT.
+
+ Intentionally, these reference VC++ 6.0 projects and configurations don't use
+ third party libraries, such as OpenSSL or Zlib, to allow proper compilation
+ and configuration for all new users without further requirements.
+
+ If you need something more 'involved' you might adjust them for your own use,
+ or explore the world of makefiles described above 'MSVC from command line'.
+
Borland C++ compiler
---------------------
@@ -315,9 +346,8 @@ Win32
-L c:\openssl\out32\ssleay32.lib
simplessl.c
-
- MSVC IDE
- --------
+ OTHER MSVC IDEs
+ ---------------
If you use VC++, Borland or similar compilers. Include all lib source
files in a static lib "project" (all .c and .h files that is).
@@ -326,9 +356,6 @@ Win32
Make the sources in the src/ drawer be a "win32 console application"
project. Name it curl.
- For VC++ 6, there's an included Makefile.vc6 that should be possible
- to use out-of-the-box.
-
Disabling Specific Protocols in Win32 builds
--------------------------------------------
diff --git a/vc6curl.dsw b/vc6curl.dsw
new file mode 100644
index 000000000..65174ba02
--- /dev/null
+++ b/vc6curl.dsw
@@ -0,0 +1,44 @@
+Microsoft Developer Studio Workspace File, Format Version 6.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "curllib"=".\lib\curllib.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "curlsrc"=".\src\curlsrc.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name curllib
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+