There are some macros: 
https://www.dealii.org/developer/doxygen/deal.II/revision_8h.html#a6a61bbd5c9074273a721450df150d9f5.
 
You can use it like 
this: 
https://github.com/hyperdeal/hyperdeal/blob/60091feb59f98789bc082395150c7537f6b3dc07/examples/vlasov_poisson/vlasov_poisson.cc#L228-L231

Hope this helps,
PM

On Thursday, 1 July 2021 at 11:15:33 UTC+2 Praveen C wrote:

> Dear all
>
> I have my deal.II based application code under git.
>
> Is there a way to print the git version from my deal.II code ?
>
> Something like this
>
> https://github.com/smessmer/gitversion
>
> but I couldnt get that to work. My knowledge of cmake almost zero. Any 
> suggestions ?
>
> Best
> praveen

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/06e28cd8-bc5a-41f7-8afb-53c74b1b0134n%40googlegroups.com.

Reply via email to