sifadil / pcsx2-playground

Automatically exported from code.google.com/p/pcsx2-playground
2 stars 0 forks source link

Feature request: add version name to executable file name #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I know, that it's look strange, but now I have a ton (well, 20 or so) of
exe files for windows and linux builds. And it's WERY hard to choose
correct executable without knowlege of revision. So for a debugging sake,
please, add revision number to pcsx2 file name, at-least to nondebug one.

Original issue reported on code.google.com by Zeydl...@gmail.com on 21 Dec 2008 at 11:10

GoogleCodeExporter commented 8 years ago
I don't know of a way to do this automatically.  It could probably be done to 
the
Linux build without too much trouble, anyway, with a little sh magic.  I think 
you're
a linux user, right?  I'll forward the request to Arcum for review.

Original comment by Jake.Stine on 22 Dec 2008 at 12:58

GoogleCodeExporter commented 8 years ago
Actually, Jake, if you look closely, he's requesting it for both Linux and 
Windows.

I'll take a look. There is a variable in configure.ac called SVNVER that has 
the svn
version, and I may be able to just plunk that in the name. 

That's when I'm back in Linux, though. firght now I'm in Windows, so I can look 
at
cottonvibes dialog changes firsthand. It's easier to get an idea of what to do 
from
looking then reading the code...

Original comment by arcum42@gmail.com on 22 Dec 2008 at 1:11

GoogleCodeExporter commented 8 years ago
Ah, ok.  Yeah the best guess I have for doing a rev-based filename gen in MSVC 
is to
create a post-build step that uses a TortoiseSVN or Subversion tool to rename 
the
file.  It'd be a real pain in the ass.

Anyone else have any more knowledge / better ideas for it?

Original comment by Jake.Stine on 22 Dec 2008 at 1:31

GoogleCodeExporter commented 8 years ago

Original comment by Jake.Stine on 22 Dec 2008 at 4:52

GoogleCodeExporter commented 8 years ago
For MSVC
http://www.codeproject.com/KB/architecture/svn_visual_studio.aspx?display=PrintA
ll

Original comment by Zeydl...@gmail.com on 22 Dec 2008 at 5:52

GoogleCodeExporter commented 8 years ago
Oh, and it's seems that Gabest is already imported SubWCRev in his plugin.

Original comment by Zeydl...@gmail.com on 22 Dec 2008 at 6:04

GoogleCodeExporter commented 8 years ago
Yes that can be used to inject revision info into the source code of a project, 
but
how can I change the output filename?  That's a project-level option and as far 
as I
know the #defines generates by SubWCRev won't do any good there.

(for the record, I incorporated SubWCRev into SPU2ghz quite a while ago).

Original comment by Jake.Stine on 22 Dec 2008 at 6:22

GoogleCodeExporter commented 8 years ago
I think I might have found a way to bind the revision number into the filename 
in
Visual Studio, using SubWCRev and a .vsprops file.  I'll put it on my todo list 
as
soon as I'm done with my current little code cleanup project.

Original comment by Jake.Stine on 8 Jan 2009 at 7:17

GoogleCodeExporter commented 8 years ago
This has been implemented in full for the Win32 build systems.

Original comment by Jake.Stine on 8 Feb 2009 at 5:42

GoogleCodeExporter commented 8 years ago

Original comment by Jake.Stine on 17 Feb 2009 at 1:41