I just finished a cmake file usefull to build OF projects.
I tested it on linux (ubuntu) and OS X. Generation of Makefile or Code::blocks works smoothly.
There is yet a lot of work to be done to:
- extend it to build ofx shared or static library
If you are interested to test it and give me feedback or any suggestions fell free.
You can check this at http://github.com/dopuskh3/ofx-cmake-build