You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Brandon Ehle <az...@yahoo.com> on 2002/12/13 20:51:57 UTC

experimental patch: MSVC project file generation

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

Re: experimental patch: MSVC project file generation

Posted by Branko Čibej <br...@xbc.nu>.
Brandon Ehle wrote:

> 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. 

No; instead, the object files from the other libraries must go into
separate subdirectories. Look at how
subversion/mod_dav_svn/mod_dav_svn.dsp is doing it now.


-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org