[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

experimental patch: MSVC project file generation

From: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2002-12-13 21:51:57 CET

Here's a link to a patch that implements generation of msvc project
files for MSVC6. It's a very messy patch and there is alot of hacks
which I wouldn't want to go mainstream just yet. At this point I'm
looking for someone who compiles MSVC6 to let me know that it works for
them as well. VCNET support isn't complete yet, but hopefully that will
be done by Monday.

To build the msvc-dsp projects:
1) Goto the subversion directory and run "python gen-make.py msvc-dsp".
 This will drop the project files in
subversion/build/win32/msvc-dsp/*.dsp & a workspace file in
subversion/subversion_msvc.dsp
3) Open the subversion/subversion_msvc.dsp file
4) Select the "mod_dav_svn" project and hit "Unload". If you wish to
compile mod_dav_svn, skip this step and see below.
5) Select the "__ALL__" target and compile.

Building svn, svnadmin, svnlook all work roughly the same as the old
project files.

svnserve should be working but there is an unresolved external called
_TransmitFile that I haven't investigated yet.

mod_dav_svn is a whole new mess of its own, but I think the solution is
feasible. Basically compiling mod_dav_svn makes you need to link
against the versions of apr & apr-util & expat that come with apache.
 Also you have to change some defines. Rather than adding 2 copies of
libsvn_fs, libsvn_repos, libsvn_delta, & libsvn_subr project files just
for mod_dav_svn, I've included all the sources for those files inside of
mod_dav_svn's project. The only thing of note is that I must rename
subversion/mod_dav_svn/log.c & subversion/mod_dav_svn/repos.c to avoid
compiler conflicts. You should be able to grab apache, drop the tree in
subversion as "httpd", open the Apache.dsw project, compile the
"InstallBin" target, open the subversion_msvc.dsw and compile
"mod_dav_svn" target and it should work.

http://fishbowl.digitalbytes.net:81/svn/scripts/patch/gen-make-win32.patch

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 13 22:00:22 2002

This is an archived mail posted to the Subversion Dev mailing list.