Feature Request All Branches - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: Feature Request All Branches (/showthread.php?tid=58562) |
Feature Request All Branches - TheQuestor - 2009-09-26 First off great work devs getting the svn whipped back into shape build wise 2nd I have a feature request. If I build debug I get rUNKNOWN. If it shows unknown and somebody needs some help and you ask them which revision and they go and look and it only says unknown then it is not helping anyone. Also if something mucks with the source and you build on *nix it adds a "M" next to the revision #. Can we maybe add a new flag say "D" for debug so even if it IS debug it will show revision and that it is debug so you know you can ask for logs and dumps and what not. If Build = "Release" then revision = revision elseIf Bulld = "Debug" then revision = revision&"D elseIf IsTouched = true then revision = revisionM Elseif Build = "Debug" AND IsTouched = "true" then revision = revision&"DM end if not sure how to explain it any other way And I know "submit a patch" and if I could I would, vbscript/asp I can do, C/C++/Python I can not Might this be possible? PAAALLLEEEEEZZZZ. Craig - althekiller - 2009-09-26 The "M" isn't added by us, it's tagged on by svnversion if the tree isn't clean. You shouldn't be releasing binaries where the sources are modified in any way. It's a GPL violation (unless of course these "modified" sources come with it). It would be in your best interest to check the binaries for this case before posting them on-line. Embedding the configure flags has been on my list of shit to do for awhile now, then we could log them or dump them to the console, w/e. This would give us way more useful. Of course it doesn't help win32, but I wouldn't know (or particularly care ) where to start with that. - CrashX - 2009-09-27 You can use the following preprocessor definitions to detect RELEASE and DEBUG mode in windows build of xbmc. _DEBUG = Debug NDEBUG = Release Code: #ifdef _DEBUG |