Leandro Motta Barros:

I'd like to include the version control revision tag in a program. In the C/C++ world I'd make my build system call the compiler like this:

   g++ -D<MY_REVISION_HERE> .....

Take a look at -version=...

Bye,
bearophile

Reply via email to