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

Re: Building DLL's for Windows

From: Paul T. Burba <ptbsvn_at_adelphia.net>
Date: 2007-01-05 18:45:22 CET

Malcolm Rowe wrote:
> On Fri, Jan 05, 2007 at 09:58:33AM -0500, Mark Phippard wrote:
>> Paul Burba did a trunk build for me today so that I can start
>> testing/working on some of the latest features in Subclipse. I noticed that
>> the new DLL's that are being built on Windows do not have any resource
>> information attached to them. The JavaHL DLL that comes out of the build
>> process does. I do not know what would be involved in adding this, but it
>> might be nice to have.
>>
>
> Yes, version information in the library DLL's would be very useful.
>
> As far as I can tell, the inclusion of the RC file in the project is
> just driven from the existence of a description setting in build.conf
> for the project in question. I don't know if it's just as simple as
> adding a description for the libraries - that might not work with static
> builds?
>
> Regards,
> Malcolm

I tried Malcolm's suggestion, but it seems that adding a description for a
project in build.conf is not alone sufficient to get version info attached to
the dlls.

Does anyone else more familiar with building on Windows know how to do this?
I suspect it is simple, uh, actually scratch that, it might be hideously
complex for all I know, either way I don't have a clue...

Paul B.

P.S. The patch I used to build.conf is attached.

Index: build.conf
===================================================================
--- build.conf (revision 22908)
+++ build.conf (working copy)
@@ -196,6 +196,7 @@
 
 # Library needed by all subversion clients
 [libsvn_client]
+description = Subversion Client Library
 type = lib
 path = subversion/libsvn_client
 libs = libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr apriconv apr
@@ -204,6 +205,7 @@
 
 # Routines for binary diffing and tree-deltas
 [libsvn_delta]
+description = Subversion Delta Library
 type = lib
 install = fsmod-lib
 path = subversion/libsvn_delta
@@ -212,6 +214,7 @@
 
 # Routines for diffing
 [libsvn_diff]
+description = Subversion Diff Library
 type = lib
 path = subversion/libsvn_diff
 libs = libsvn_subr apriconv apr
@@ -220,6 +223,7 @@
 
 # The repository filesystem library
 [libsvn_fs]
+description = Subversion Repository Filesystem Library
 type = lib
 path = subversion/libsvn_fs
 install = ramod-lib
@@ -246,6 +250,7 @@
 
 # General API for accessing repositories
 [libsvn_ra]
+description = Subversion Repository Access Library
 type = lib
 path = subversion/libsvn_ra
 libs = libsvn_subr ra-libs apriconv apr
@@ -289,6 +294,7 @@
 
 # Routines built on top of libsvn_fs
 [libsvn_repos]
+description = Subversion Repository Library
 type = lib
 path = subversion/libsvn_repos
 install = ramod-lib
@@ -297,6 +303,7 @@
 
 # Low-level grab bag of utilities
 [libsvn_subr]
+description = Subversion General Utility Library
 type = lib
 install = fsmod-lib
 path = subversion/libsvn_subr
@@ -306,6 +313,7 @@
 
 # Working copy management lib
 [libsvn_wc]
+description = Subversion Working Copy Library
 type = lib
 path = subversion/libsvn_wc
 libs = libsvn_delta libsvn_diff libsvn_subr aprutil apriconv apr

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 5 18:45:35 2007

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.