Integrating the Subversion Revision into the Version Automatically with Native C/C++
Using SubWCRev and a pre-build event to automatically retrieve the Subversion information from your working copy and set the file version in a native C/C++ project.
Using SubWCRev and a pre-build event to automatically retrieve the Subversion information from your working copy and set the file version in a native C/C++ project.
Using a pre-build event to automatically retrieve the Mercurial version information from your working copy and set the file version in a native C/C++ project.
Using a Resource in Visual Studio you can include Version information directly into a native C/C++ binary.