CLion looks like an interesting IDE. Cinder does not come with a
cmake script, but from what I gather, CLion is able to create one for
you if you simply add the *.cpp and *.h files to your CLion project.
Chances are Cinder will compile perfectly fine once that's been
taken care of.
CLion will generate a cmake file for you, but it is hardly useable given
the complex nature of frameworks like cinder. It can't sort out the
linker settings, necessary #defines, deploy versions, whether to build a
bundle or lib, etc.. But it will probably get you far enough to be able
to use the IDE for code editing, and then use xcode to build.
About half a year ago I started on cmake integration as an
alternative build tool for cinder, in this branch, although it has now fallen behind
master branch by quite a bit. One of the goals of adding cmake support
is facilitating the use of CLion, and I think we'll get there but
for now we're still experimenting. You can read more about that
work in this post, and searching the forum for
'cmake' or clion will lead to many other related posts. Back
when I was working on that branch, I was able to successfully build
cinder as a static library and a sample with only one build
command from within CLion, so it was promising..
I'm planning to return to working on cmake / CLion support
once my current project is over. Even though it is young, the
editor is vastly better than Xcode's alone, and of course
we'll also need it for platforms like android and linux.
Are you trying from the latest cmake branch? It started off as building for android on Mac OS X but we changed this a couple weeks ago so that by default you're building for desktop on OS X and you'd have to set CINDER_TARGET to "android" to otherwise build for android.