Hi Matt,
We just use a perl script that hunts it down in the output of 'p4 changes -m
1'. That, in turn, sets an environment variable and a compiler switch as
needed.
Regards,
- -Nick
-----Original Message-----
From: Matt Lewinski [mailto:mlewinsk at umich.edu]
Sent: Monday, May 24, 1999 8:01 PM
To: perforce-user at perforce.com
Subject: Triggers to set build number?
I'm looking to create a way to set some versioning information in our
application using the last changelist number that was submitted against
the depot. Does anyone with more experience have any insight into a good
way to do this? I was thinking of using a trigger to update a text file
but I am sure this is not the best way to do this.
--matt
matt lewinski mlewinsk at umich.edu
beos developer #9967 student, univ. of michigan