[waffle] [PATCH 19/19] cmake: rework cmocka build process

Chad Versace chad.versace at linux.intel.com
Wed Aug 13 14:55:22 PDT 2014


On 08/04/2014 10:03 AM, Emil Velikov wrote:
> Rather than wrapping around cmocka's existing cmake, simply inherit
> the build setup/variables from the waffle project and build a simple
> cmocka static library.
> This way we'll no longer need to add the custom commands for build
> and we'll be able to easily handle mingw-w64 and msvc build :)
> 
> To make things even better this speeds up the configure/build process.
> 
> Patch is largely written by Nils Gladitz, ngladitz on #cmake
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> 
> A small lovely patch strictly speaking not part of this series. Yet I've 
> that I had it locally for ages, and without it the "fix-make-check" will
> not work at all :'(

Lovely indeed. It's so simple!

Committed to branches 'master' and 'next'.

I have some additional CMocka cleanups pending. But they won't work on Windows :(.
I'll need to get your advice when I'm ready to post the patches.



More information about the waffle mailing list