[CMake] hook __EOF__

t m cmake at majchrowski.co.uk
Tue Aug 16 09:36:54 EDT 2011


> What's wrong with "overriding" the project() command? AFAIK, if you
> define a new function with a name that is already taken, the original
> command is renamed by appending an underscore.
>
> Perhaps this solves your problem?

I learn something every day. Thanks this will solve my issue.

> But any ways, using a small shell-script (or using Vim or Emacs) it is
> a trivial task to append something to thousands of files...

I know that simple find with xargs and perl will do the job but this
is more about code freezing and release process in this particular
project. Anyway you help me a lot!

Regards, T Majchrowski.


More information about the CMake mailing list