Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (16 sloc) 0.683 kb
#!/bin/bash
OUT_FILE=include/COLLADAMayaVersionInfo.h
echo "#ifndef __COLLADAMAYA_VERSIONINFO_H__" > $OUT_FILE
echo "#define __COLLADAMAYA_VERSIONINFO_H__" >> $OUT_FILE
echo "" >> $OUT_FILE
echo "#include \"COLLADAMayaPrerequisites.h\"" >> $OUT_FILE
echo "" >> $OUT_FILE
echo "namespace COLLADAMaya" >> $OUT_FILE
echo "{" >> $OUT_FILE
echo " const String CURRENT_REVISION = \"`git describe --always`\";" >> $OUT_FILE
echo " const String CURRENT_PLATFORM = \"`uname -s`\";" >> $OUT_FILE
# const String CURRENT_CONFIGURATION = "ReleaseConsole2008";
echo "}" >> $OUT_FILE
echo "" >> $OUT_FILE
echo "#endif // __COLLADAMAYA_VERSIONINFO_H__" >> $OUT_FILE
echo "" >> $OUT_FILE
Jump to Line
Something went wrong with that request. Please try again.