I checked scons and cmake build systems and in my opinion cmake is the
right tool for us. With cmake I'm able to generate Makefiles on Linux
and use standard Linux tools, like gcc, make and gdb. On Windows
I'm able to generate VS project files and then use standard tools,
like msvc + headers + libs and VS's debugger. Note it's also possible
to generate MinGW makefiles on Windows so people who like MinGW won't
suffer from this change. CMake is far more flexible for our style of
development than GNU build chain.

Note about Xvnc compilation. It's true we cannot use CMake for it.
However common/rfb/librfb.a can be compiled via CMake and then
Xvnc (with X.Org's GNU build system) can be linked against it. This
means we will maintain only unix/xserver/hw/Makefile.am.

In my opinion we should consider to use CMake instead of GNU build
chain as our primary build system in 1.1. If I understand correctly
Darrell is also for CMake but I would like to hear opinion of Peter
and Pierre.

My vote is +1 for CMake in TigerVNC 1.1.

I haven't worked with the TigerVNC build system for a while, and I have never used CMake, but after reading this thread, I am also positive to CMake. As DRC points out, with CMake it will be less painful to use MinGW on Windows, which I think is very good.

Another advantage would be that we do not need to maintain multiple build systems, which I think is very important.

I do think that if we go for CMake, we should try to get rid of as much as possible of Autotools, ie only keep Autotools for unix/xserver/hw/Makefile.am.


Regards, ---
Peter Åstrand           ThinLinc Chief Developer
Cendio AB               http://www.cendio.com
Wallenbergs gata 4
583 30 Linköping        Phone: +46-13-21 46 00
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to