[cig-commits] [commit] master: Add version to mesher output (4ced721)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Oct 29 16:20:35 PDT 2014
Repository : https://github.com/geodynamics/vq
On branch : master
Link : https://github.com/geodynamics/vq/compare/0ca7695073f8b223d815f10653613b02b6c47df8...197914f4e03e55d321cae45161deafb1a5ade706
>---------------------------------------------------------------
commit 4ced721ec1585bbb4b54c789157804186319d50e
Author: Eric Heien <emheien at ucdavis.edu>
Date: Wed Oct 29 13:19:55 2014 -0700
Add version to mesher output
>---------------------------------------------------------------
4ced721ec1585bbb4b54c789157804186319d50e
src/mesher.cpp | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/mesher.cpp b/src/mesher.cpp
index 33f1c9e..5f60335 100644
--- a/src/mesher.cpp
+++ b/src/mesher.cpp
@@ -18,7 +18,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
-// Plugin #includes
+#include "config.h"
#include "QuakeLibIO.h"
#include "QuakeLibEQSim.h"
@@ -320,6 +320,12 @@ int main (int argc, char **argv) {
}
// Print an informational summary for the user
+ std::cout << "# *** VQ Mesher Version " << VQ_VERSION_STR << " ***" << std::endl;
+#ifdef VQ_GIT_SHA1
+ std::cout << "# *** Git revision ID " << VQ_GIT_SHA1 << " ***" << std::endl;
+#endif
+ std::cout << "# *** " << quakelib::quakelib_info() << " ***" << std::endl;;
+
std::cout << "*** Summary of edits ***" << std::endl;
// *** INPUT SECTION ***
More information about the CIG-COMMITS
mailing list