[CMake] FindGit.cmake proposal
Daniel Wirtz
daniel.wirtz at simtech.uni-stuttgart.de
Thu Sep 10 10:34:13 EDT 2015
Dear all,
i've now quite often encountered the need to access basic git
information about the source tree from within cmake.
i've attached the current FindGit.cmake module shipped with CMake
enhanced by two functions: getGitRevision and getGitBranch.
if you fancy the idea of having this included, feel free to include any
part of it in future releases.
if this is not the "right way" of proposing such things, where to go to?
cheers
Daniel
--
Dr. Daniel Wirtz
Dipl. Math. Dipl. Inf.
SRC SimTech
Pfaffenwaldring 5a
+49 711 685 60044
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindGit.cmake
Type: text/x-cmake
Size: 3914 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150910/828dfaeb/attachment.bin>
More information about the CMake
mailing list