[CMake] post-generate hook

Petr Kmoch petr.kmoch at gmail.com
Tue Feb 19 10:54:17 EST 2013


Hi Martin.

I asked for this feature some time ago, but it was rejected :-(
http://public.kitware.com/Bug/view.php?id=13020

Petr

On Tue, Feb 19, 2013 at 4:37 PM, Martin Perzl <perzl at in.tum.de> wrote:
> Is it possible to execute a command just after the cmake generation phase? I
> do not mean a pre- or post-build hook, but a hook just after cmake itself
> has finished executing.
>
> I found an old post on this list answering exactly the same question, but I
> am not sure how the problem was solved (either some intel compiler specific
> changes or a post-generate hook was introduced?)
>
> http://www.cmake.org/pipermail/cmake/2010-May/037155.html
>
> What I want to do in my special case:
> I am generating an eclipse CDT project, but want to apply a patch to the
> .project file. I need to define a specific project nature (NiosII SBT
> nature) for my eclipse project (additionally to the CDT nature).
>
> regards
> Martin
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list