Darshaka Pathirana wrote:
Hi!
As I still have no good solution on passing the mercurial revision
to the code when building with Visual Studio 2005 it is important to
have a workaround 'cause without the patch the code stays
uncompilable.
My workaround sets the revision to 0 if the compiler is VC++.
A better solution I can think of is to read a external file (like
#include <hg_revision.h>) which is generated by an
cmake-pre-build-process. Maybe somebody knows how to do that as my
knowledge on CMake is merely humble.
Actually it works perfectly well the SVN_VERSION variable holds
merucrial rev hash now
Yes. The mercurial-revision is in the SVN_VERSION variable. That
works fine. But the actual problem is that the Visual C++ compiler
can not handle quotes with the "-D" option. So we have to think of
something else to pass the revision into the code.
My wengophone generates correct value in UserAgent filed in sip
requests... So the things works correctly here
Greetings,
- Darsha
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel