Alexander Chemeris
2007-Nov-29 14:32 UTC
[Speex-dev] [PATCH] Add Visual Studio 2008 Prject files
On 11/28/07, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote:> I think the amount of Windows crap is getting a bit ridiculous. Does > anyone know of a solution to keep things manageable? I mean, the same > autotools files manage the build for Linux PCs, Blackfins and MacOS (and > others). Yet, we need one set of files for each MS compiler version > (good thing they don't practice "release early, release often"). There > has to be some simpler solution. Anyone?Well, you could use Mingw with the same autotools files. But then you will not be able to link Speex statically with VS projects. Other variant is to use some generator, which will use autotools-like files to generate VS project files. But I do not know any such generator which will support all required VS versions. If anybody know - let me know. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000
Aron Rosenberg
2007-Nov-29 21:59 UTC
[Speex-dev] [PATCH] Add Visual Studio 2008 Prject files
Qmake which is part of qt can generate all the various different project files from a single .pro -Aron -----Original Message----- From: alexander.chemeris@gmail.com [mailto:alexander.chemeris@gmail.com] On Behalf Of Alexander Chemeris Sent: Thursday, November 29, 2007 1:35 AM To: Jean-Marc Valin Cc: Aron Rosenberg; speex-dev@xiph.org Subject: Re: [Speex-dev] [PATCH] Add Visual Studio 2008 Prject files On 11/28/07, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote:> I think the amount of Windows crap is getting a bit ridiculous. Does > anyone know of a solution to keep things manageable? I mean, the same > autotools files manage the build for Linux PCs, Blackfins and MacOS (and > others). Yet, we need one set of files for each MS compiler version > (good thing they don't practice "release early, release often"). There > has to be some simpler solution. Anyone?Well, you could use Mingw with the same autotools files. But then you will not be able to link Speex statically with VS projects. Other variant is to use some generator, which will use autotools-like files to generate VS project files. But I do not know any such generator which will support all required VS versions. If anybody know - let me know. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000
Keith Kyzivat
2007-Nov-30 06:57 UTC
[Speex-dev] [PATCH] Add Visual Studio 2008 Prject files
Something to look into perhaps is Trolltech's 'qmake' tool. It fills the role of something like autotools or now defunct imake. As far as I understand, you can indeed use it for projects that don't do anything with the Qt libraries. Now, it may not have the support for multiple targets that it sounds like are needed for speex, and I know it doesn't have as comprehensive of platform-independent support as autoconf (i.e. it doesn't quite do feature-testing, IIRC), but it will generate project files, though it is unclear if it provides creation of all the different versions of projects we're looking for (VC6, VS2003, VS2005, VS2008). It just seems ridiculous that 4 different project files have to be maintained for one operating system, let alone the # of targets each one of those project files needs to be customized for. On 11/29/07, Alexander Chemeris <Alexander.Chemeris@sipez.com> wrote:> > On 11/28/07, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote: > > I think the amount of Windows crap is getting a bit ridiculous. Does > > anyone know of a solution to keep things manageable? I mean, the same > > autotools files manage the build for Linux PCs, Blackfins and MacOS (and > > others). Yet, we need one set of files for each MS compiler version > > (good thing they don't practice "release early, release often"). There > > has to be some simpler solution. Anyone? > > Well, you could use Mingw with the same autotools files. But then you > will not be able to link Speex statically with VS projects. Other variant > is to use some generator, which will use autotools-like files to > generate VS project files. But I do not know any such generator which > will support all required VS versions. If anybody know - let me know. > > -- > Regards, > Alexander Chemeris. > > SIPez LLC. > SIP VoIP, IM and Presence Consulting > http://www.SIPez.com > tel: +1 (617) 273-4000 > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >-- Keith Kyzivat SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20071129/193ed16e/attachment.html
Jean-Marc Valin
2007-Nov-30 07:19 UTC
[Speex-dev] [PATCH] Add Visual Studio 2008 Prject files
Keith Kyzivat a ?crit :> Something to look into perhaps is Trolltech's 'qmake' tool. > It fills the role of something like autotools or now defunct imake.I think TrollTech deserves a prize for their accomplishment in making qmake even worse than autotools (I'm using it for something else and wish I wasn't -- Qt itself is fine though). I've heard good things about CMake though. I've no idea how it works, but if it's cross-platform like the devs say it is, maybe it could be an option. Anyone with experience with CMake? (or even better, willing to write makefiles for it)> As far as I understand, you can indeed use it for projects that don't do > anything with the Qt libraries. > Now, it may not have the support for multiple targets that it sounds like > are needed for speex, and I know it doesn't have as comprehensive of > platform-independent support as autoconf (i.e. it doesn't quite do > feature-testing, IIRC), > but it will generate project files, though it is unclear if it provides > creation of all the different versions of projects we're looking for (VC6, > VS2003, VS2005, VS2008).qmake is just insanely limited in terms of the structure of your code (can't have an executable if you have a library, ...). On top of that, I've had way too many cases where it just "forgot" to recompile files when a header file changed (causing strange segfaults) that I'm never trusting it anymore. Jean-Marc