<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I have a script that generates a revision.h file, I've spent the
morning trying to figure out how to make it so that ... any time
CMake rebuilds any of the other targets, it starts by running the
make-new-revision script.<br>
<br>
The idea is, I use the script manually to upversion, but anytime I
type "make" and <i>anything</i> has to be done (even just a
relink), it will do the upversion first.<br>
<br>
I've only managed to make it either source dependent or always
build, which forces the versionNo file to recompile and forces all
executables to relink, so if you type:<br>
<br>
make ; make ... it will have to relink the executables the second
time because of an pointless upversion :)<br>
<br>
- Oliver<br>
<br>
</body>
</html>