Building CMocka as a Static Library
I had to rebuild CMocka the other day for one of my projects, and I was initially pretty confused as to why the CMocka build system was only generating dynamic libraries. The documentation didn't mention anything obvious about static libraries either. I'm still new to CMake and wasn't aware of the DefineOptions.cmake file, which clearly …