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

Troughton, Robert rtroughton at midway.com
Fri Feb 22 08:36:20 PST 2008

That won't work for all platforms though... PC/Mac, yes...

-----Original Message-----
From: Jamie.Echlin at barclayscapital.com
[mailto:Jamie.Echlin at barclayscapital.com] 
Sent: 22 February 2008 10:58
To: peter.weldon at lollotec.com; Troughton, Robert
Cc: perforce-user at perforce.com
Subject: RE: [p4] Adding a Changelist # to C++ code...?

> If you want a header file you will need a script. A header 
> file is not ideal though as it will cause a recompile of all 
> dependent files and a relink for ever change regardless of 
> whether any code was touched by the change e.g. a data file 
> is updated but no code.

That's true but there are ways to "tag" binary files with the version
info after the build, example:
For important statutory and regulatory disclosures and more information
about Barclays Capital, please visit our web site at

Internet communications are not secure and therefore the Barclays Group
does not accept legal responsibility for the contents of this message.
Although the Barclays Group operates anti-virus programmes, it does not
accept responsibility for any damage whatsoever that is caused by
viruses being passed.  Any views or opinions presented are solely those
of the author and do not necessarily represent those of the Barclays
Group.  Replies to this email may be monitored by the Barclays Group for
operational or business reasons.

Barclays Capital is the investment banking division of Barclays Bank
PLC, a company registered in England (number 1026167) with its
registered office at 1 Churchill Place, London, E14 5HP. This email may
relate to or be sent from other members of the Barclays Group.

More information about the perforce-user mailing list