Matthias Melcher wrote:
> I have come to the conclusion that it is probably easier to keep
> virtual machines with Xcode 3 and 4, VC9 and 10, and Linux
> (Makefile, cmake), and update them manually.
>
> All the other IDE's are based around gnu tools (Code::Blocks, etc.),
> so there is no need to generate an FLTK project file. Developers can
> simply do "make install", and then create new projects on their own
> that merely *use* FLTK.
>
> Now if I only understood CMake. That support still lacks.
I picked up cmake a year or so ago to solve someone's problem
and it seemed OK. Forgot most of it, but it wasn't hard.
I think I left a bread trail somewhere.
I've been using gmake for the last year or so to build FLTK
with VS7 from the CLI. I maintain some Makefiles in a ZIP
just for this purpose, eg:
http://seriss.com/people/erco/fltk/tmp/vsnet-makefiles-0.70.zip
Here's a video showing how it works:
http://seriss.com/people/erco/fltk/tmp/vsnet-gmake-demo-video/
The config files auto-detects the compiler version, and
currently supports VS7, VS Express 2005 and 2008,
automatically adjusting the compiler flags accordingly.
There's one "compiler flags file" for each version.
What's nice about gmake (not sure about cmake) is "gmake.exe"
needs no other support files to work.
I can see including the 'gmake.exe' binary as part of the
FLTK distro so that FLTK can build it without installing
anything other than VS compiler.
I'd be happy to add it to FLTK if there's a consensus.
I'm kinda happy with how readable the files are currently.
MS changing around the project files all the time seems
a strong indicator we shouldn't use them ;) If we can only
support the most recent compilers, it kinda forces us on
a bad path I think.
Also, there's so many VS files. And the files themselves are
largely redundant in contents, a bitch to tweak + maintain,
and hard to QC because they're so opaque; one can't just look
at all the settings the way one can with a Makefile.
I guess cmake is the most appealing, though, because it covers
all the OS's so well. Though I don't mind managing MS Makefiles
completely separately from unix.. as long as they're text.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev