[jamming] struggling with header install jam rules
callsop at sceptre.net
Mon Nov 29 14:55:16 PST 2004
So it looks like:
SOURCE = a.cpp b.cpp c.cpp ;
HEADERS = $(SOURCE:BS=.h) ;
You probably need this to tell jam where to look for these new names
(assuming headers are local to the jamfile):
SEARCH on $(HEADERS) = $(SUBDIR) ;
InstallFile /usr/local : $(HEADERS) ;
From: jamming-admin at perforce.com [mailto:jamming-admin at perforce.com] On
Behalf Of ANDREW MARLOW, BLOOMBERG/ LONDON OF
Sent: Friday, 26 November 2004 11:35 PM
To: JAMMING at perforce.com
Subject: [jamming] struggling with header install jam rules
I am struggling to form the jam rules that will
allow me to copy headers to an install directory.
I have a list of .cpp files, which is needed for
the compilations. I want to generate the names of
the .h files from this and install them to a
configurable dir, e.g /usr/local.
I can generate the target names by gristing the
source name and subsituting .h for .h.
However, I need the full source name otherwise
it says "dont know how to make foo.h".
jamming mailing list - jamming at perforce.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jamming