12 messages in com.perforce.jamming[jamming] jam's attitude to libraries...| From | Sent On | Attachments |
|---|---|---|
| Arnt Gulbrandsen | 19 Mar 2002 07:09 | |
| Matt Armstrong | 19 Mar 2002 07:55 | |
| Arnt Gulbrandsen | 19 Mar 2002 08:06 | |
| Matt Armstrong | 19 Mar 2002 08:45 | |
| Diane Holt | 19 Mar 2002 09:08 | |
| Arnt Gulbrandsen | 19 Mar 2002 09:25 | |
| Arnt Gulbrandsen | 19 Mar 2002 09:29 | |
| Diane Holt | 19 Mar 2002 09:52 | |
| Arnt Gulbrandsen | 19 Mar 2002 10:12 | |
| Diane Holt | 19 Mar 2002 10:31 | |
| EXT-Goodson, Stephen | 19 Mar 2002 13:01 | |
| Matt Armstrong | 20 Mar 2002 10:49 |
| Subject: | [jamming] jam's attitude to libraries...![]() |
|---|---|
| From: | EXT-Goodson, Stephen (step...@boeing.com) |
| Date: | 03/19/2002 01:01:59 PM |
| List: | com.perforce.jamming |
Our project has a similar layout to what you describe, and LinkLibraries works fine for us. It gets the dependencies exactly right, without any evil hacks, and without libraries in a central location. Libraries don't get grist (at least in stock jam 2.3) so as long as you don't have 2 libraries with the same name, there shouldn't be any problem with jam determining what library you mean. It's hard to guess what the problem might be without more details on what you're doing, but if you're giving the path to libmumble in the LinkLibraries rule, that might be what is confusing jam. You don't need to give the path or suffix when you mention libmumble in the LinkLibraries rule.
Steve
-----Original Message----- From: Arnt Gulbrandsen [mailto:ar...@gulbrandsen.priv.no] Sent: Tuesday, March 19, 2002 8:07 AM To: jamm...@perforce.com Subject: Re: [jamming] jam's attitude to libraries...
Matt Armstrong <ma...@lickey.com>
Does the LinkLibraries rule that comes with the standard Jambase do what you want?
It's meant to. But the project has libmumble.a in directory .../mumble, and that confuses jam. It doesn't realize that the libmumble.a that's being built is the mumble/libmumble.a that's needed by the application in the mumble's parent directory.
My options appear to be:
- use my evil hack - use MakeLocate in each and every Jamfile to put the libraries in one central location
--Arnt
_______________________________________________ jamming mailing list - jamm...@perforce.com http://maillist.perforce.com/mailman/listinfo/jamming




