[Speex-dev] [PATCH] Add Visual Studio 2008 Prject files

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Nov 29 15:12:14 PST 2007


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


More information about the Speex-dev mailing list