Greg Ercolano wrote:
>       I installed cmake on my VS 8 system, and using a recent patch provided 
> in STR #2244,
>       was able to get fltk to build with cmake/nmake.

Greg, did you also see an option to create IDE project files? Could you try to 
do this, if possible, and report if this works? According to 
<http://www.cmake.org/>: "CMake generates native makefiles and workspaces that 
can be used in the compiler environment of your choice". Unfortunately my 
Cygwin 
and Linux cmake versions don't have generator options for IDE files enabled 
(and 
also no "NMake Makefiles" option).

>       Maybe we should start a README.cmake file, as I have text to put in it:

That would probably be a good idea, but isn't there a chapter in the official 
docs? We could extend this ...

>       Currently cmake/nmake builds the test program executables (*.exe)
>       in the fltk/bin/ directory instead of the fltk/test/ directory.
>       Not sure if this is intentional, but it should maybe be changed.

That was my experience with the linux version as well. The generated Makefiles 
create all executables in the bin directory. Since CMake creates lots of files 
in the source tree, I switched to out-of-source building, and this worked 
pretty 
well. As Christophe mentioned elsewhere, this enables you to have different 
build options for the same source tree. An interesting aspect. This way I can 
have my Cygwin build with and w/o X11 from the same sources, and the same for 
testing under Linux with or w/o Xft and so on. But I don't know how to 
configure 
this with CMake yet.

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to