On 08/05/2013 14:19, Felix Salfelder wrote:
> patchlev.h is automatically generated. and must be regenerated if you
> change the branch. copying will not work. if you want to use CMake to
> develop things, it should do likewise.
> 
> (this works, but i'm still wondering whether it's better to pass git
> commit ids with -D and don't mess with autogenerated headers...)

Sorry, what I meant was that CMake already fills in the appropriate
GIT_* defines when it sees it in a configuration file. Since I rebased
my work off of master, I need to copy patchlev.h.in from the
autotools-WIP branch, if that's okay.

> patchlev.h is included in 4 .cc files. recompilation/linking takes about
> 10 seconds. thats much better than a wrong version string, if you want
> to rely on it.

Hmm... then it must be something else that's tripping up ccache. I'll
take a look at it.

Thanks,
Kevin Zheng

_______________________________________________
Gnucap-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnucap-devel

Reply via email to