[CMake] git log automation in cmake

David Cole david.cole at kitware.com
Thu Jun 16 09:07:53 EDT 2011


http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:execute_process

On Thu, Jun 16, 2011 at 8:45 AM, Kfir Lavi <lavi.kfir at gmail.com> wrote:

> Hi,
> Is there anyway to produce ChangeLog file from git, when
> running cmake on the code?
> For start, I would like the simple command:
> git log > ChangeLog
>
> I'm running cmake like that:
> mkdir /tmp/builddir
> cd /tmp/builddir
> cmake /path/to/my/project
>
> Can this last command also generate ChangeLog on the fly?
> Regards,
> Kfir
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110616/e9fed2b2/attachment.htm>


More information about the CMake mailing list