[p4] Adding a Changelist # to C++ code...?

Steve M. Robbins steve at sumost.ca
Thu Feb 21 09:27:50 PST 2008


On Thu, Feb 21, 2008 at 12:16:36PM -0500, Stephen Vance wrote:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
>   <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000">
> >From within P4V, you can add the script as a custom tool and pass it
> the $c parameter for the current workspace.<br>
> <br>
> However, the question was about how to orchestrate a build to embed
> that and you're not firing off a build from P4V generally speaking.<br>
> <br>
> Even builds happening from IDEs have a sense of a directory or tree
> they are in so that they know what to build.<br>

Sure, an IDE might know what directory it is in.  But does
it know what the Perforce client name is?  

How do I do this using "make" or "ant" or "cmake"?

Thanks,
-Steve
P.S. Your posts are easier to read if you refrain from the HTML.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://maillist.perforce.com/pipermail/perforce-user/attachments/20080221/ea371a87/attachment.sig>


More information about the perforce-user mailing list