[CMake] post-generate hook

Alexander Neundorf a.neundorf-work at gmx.net
Tue Feb 19 14:37:47 EST 2013


On Tuesday 19 February 2013, Martin Perzl 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).


Please add a feature request for adding stuff to the Eclipse project files on 
http://public.kitware.com/Bug

Alex


More information about the CMake mailing list