2009-04-19, 19:48
how do you compile with svn revision number.
compiling windows with vs2008 works for release, but not debug.
xbox does not work for me with vs2003. it displays Unknown. i didn't see anything in the build.bat to do this, so i thought it worked the same as windows (automatically)
linux? it appears users were having issues when i check revision number in a script.
osx, haven't tested. the code looks like it has it though.
i use this.
another infolabel is probably unnecessary, but if you had one for System.Revision, it might be nice.
compiling windows with vs2008 works for release, but not debug.
xbox does not work for me with vs2003. it displays Unknown. i didn't see anything in the build.bat to do this, so i thought it worked the same as windows (automatically)
linux? it appears users were having issues when i check revision number in a script.
osx, haven't tested. the code looks like it has it though.
i use this.
PHP Code:
xbmc_version = xbmc.getInfoLabel( "System.BuildVersion" )
xbmc_rev = 0
xbmc_rev = int( xbmc_version.split( " " )[ 1 ].replace( "r", "" ) )
another infolabel is probably unnecessary, but if you had one for System.Revision, it might be nice.