From: Damien B. <dam...@le...> - 2012-05-16 22:40:33
|
Hello dear json_cpp developers, I worked recently with json-rpc-cpp based on json_cpp and I wrote CMakeFile support for both. I wanted to provide my small contribution to this nice library by sending you this patch. I was wondering if it could be integrated in the mainline or if you want to keep it as a patch aside, but I have the feeling that it should be mainline, because CMake is really one of the best choice for cross compilation and recompilation on any platform. It has an advantage over scons in the fact that cross compilation is generically and uniformly supported. This makes any CMake project cross compilable seamlessly for any platform without any specificf platform configuration in the makefile other than a cross cmake toolchain file provided by the user or by the toolchain itself. However I don't think it shoud replace scons, because certainly many project have based their integration of your project with it. I just think it could come additionally to ease building and integration for CMake based projects. Especially for embedded and multiplatform projects I think (e.g. I use it in a ptxdist and a yocto project for cross compiling for ARM Cortex A8, PPC, Windows 7 and Linux i386, this is for building automation softwares and devices). I added the patch on sourcefore at this address : https://sourceforge.net/tracker/?func=detail&atid=758828&aid=3527408&group_id=144446 Cheers, -- daminetreg alias Damien Buhl |