]> granicus.if.org Git - esp-idf/commit
cmake: Project & IDF git revisions: Show un-annotated tags and -dirty flag
authorAngus Gratton <angus@espressif.com>
Wed, 22 May 2019 00:19:38 +0000 (10:19 +1000)
committerAngus Gratton <gus@projectgus.com>
Thu, 23 May 2019 03:46:23 +0000 (13:46 +1000)
commit95dcfecedc9a67b02c99bebe0b877fd750a4ada8
treec322e0b6d87f3d03cfe54b3dc198c70b7c72407f
parent3bf56cdd178e8b237121a8fa07862f484db68541
cmake: Project & IDF git revisions: Show un-annotated tags and -dirty flag

Adds --tags and --dirty flags to cmake git_describe() calls, and not
pass the HEAD commit hash (incompatible with --dirty)

Makes IDF_VER output the same as in Make build system

Thanks to @william-ferguson-au for reporting this:
https://github.com/espressif/esp-idf/issues/3378#event-2355460974
tools/cmake/third_party/GetGitRevisionDescription.cmake