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

[PATCH] non static libs on windows (dll)

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-03-19 12:24:26 CET

Hi,

To use subversion as a dll and not as a statically linked library
some code changes needed to be made which are included in
this patch. For *NIX there is no change at all.
I followed the approach APR uses for that so I hope it's
alright.
Please note that for the statically linked libs the *.dsp's for
the client(s) now need the preprocessor SVN_DECLARE_STATIC set!
I don't have VC6 so I didn't mess around with those, the dsp for
the dll I created with this tool:
http://www.codeproject.com/tools/prjconverter.asp

Also, if the project is compiled to a dll then apr also needs to
be linked as a dll (use the aprlib*.dsp's for that).

Log-Message:
required changes to build subversion to a windows dll
 * SubversionDLL.dsp VC6 project
 * include/svn.h defines for SVN_DECLARE_xxx
 * include/svn_auth.h changed the function declarations/definitions
   include/svn_base64.h
   include/svn_client.h
   include/svn_config.h
   include/svn_delta.h
   include/svn_diff.h
   include/svn_error.h
   include/svn_error_codes.h
   include/svn_fs.h
   include/svn_hash.h
   include/svn_io.h
   include/svn_md5.h
   include/svn_opt.h
   include/svn_path.h
   include/svn_pools.h
   include/svn_props.h
   include/svn_quoprint.h
   include/svn_ra.h
   include/svn_ra_svn.h
   include/svn_repos.h
   include/svn_sorts.h
   include/svn_string.h
   include/svn_subst.h
   include/svn_test.h
   include/svn_time.h
   include/svn_types.h
   include/svn_utf.h
   include/svn_version.h
   include/svn_wc.h
   include/svn_xml.h
   libsvn_auth/auth.c
   libsvn_client/add.c
   libsvn_client/auth.c
   libsvn_client/cat.c
   libsvn_client/checkout.c
   libsvn_client/cleanup.c
   libsvn_client/commit.c
   libsvn_client/copy.c
   libsvn_client/delete.c
   libsvn_client/diff.c
   libsvn_client/export.c
   libsvn_client/log.c
   libsvn_client/ls.c
   libsvn_client/prop_commands.c
   libsvn_client/resolve.c
   libsvn_client/revert.c
   libsvn_client/status.c
   libsvn_client/switch.c
   libsvn_client/update.c
   libsvn_client/url.c
   libsvn_delta/cancel.c
   libsvn_delta/default_editor.c
   libsvn_delta/diff.c
   libsvn_delta/diff_file.c
   libsvn_delta/svndiff.c
   libsvn_delta/text_delta.c
   libsvn_fs/deltify.c
   libsvn_fs/fs.c
   libsvn_fs/id.c
   libsvn_fs/revs-txns.c
   libsvn_fs/tree.c
   libsvn_fs/txn.c
   libsvn_fs/uuid.c
   libsvn_ra/ra_loader.c
   libsvn_ra_dav/session.c
   libsvn_ra_local/ra_plugin.c
   libsvn_ra_svn/client.c
   libsvn_ra_svn/editor.c
   libsvn_ra_svn/marshal.c
   libsvn_repos/checkout.c
   libsvn_repos/commit.c
   libsvn_repos/delta.c
   libsvn_repos/dump.c
   libsvn_repos/fs-wrap.c
   libsvn_repos/load.c
   libsvn_repos/log.c
   libsvn_repos/node_tree.c
   libsvn_repos/reporter.c
   libsvn_repos/repos.c
   libsvn_repos/rev_hunt.c
   libsvn_subr/cmdline.c
   libsvn_subr/config.c
   libsvn_subr/config_file.c
   libsvn_subr/error.c
   libsvn_subr/getdate.y
   libsvn_subr/hash.c
   libsvn_subr/io.c
   libsvn_subr/md5.c
   libsvn_subr/opt.c
   libsvn_subr/path.c
   libsvn_subr/pool.c
   libsvn_subr/quoprint.c
   libsvn_subr/sorts.c
   libsvn_subr/stream.c
   libsvn_subr/subst.c
   libsvn_subr/svn_base64.c
   libsvn_subr/svn_string.c
   libsvn_subr/target.c
   libsvn_subr/time.c
   libsvn_subr/utf.c
   libsvn_subr/validate.c
   libsvn_subr/xml.c
   libsvn_wc/adm_crawler.c
   libsvn_wc/adm_files.c
   libsvn_wc/adm_ops.c
   libsvn_wc/copy.c
   libsvn_wc/diff.c
   libsvn_wc/entries.c
   libsvn_wc/lock.c
   libsvn_wc/log.c
   libsvn_wc/merge.c
   libsvn_wc/props.c
   libsvn_wc/providers.c
   libsvn_wc/questions.c
   libsvn_wc/status.c
   libsvn_wc/status_editor.c
   libsvn_wc/translate.c
   libsvn_wc/update_editor.c

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

Received on Wed Mar 19 12:26:19 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.