I still cannot set it up with CLION. I am on osx10.11.
Here is what I do, git clone the latest mesos repo. open clion and import it, (using the CMakeList.txt in the repo) it looks like all the code under src/ are not considered project sources. In this screenshot, http://snag.gy/PsDGn.jpg files and folders are dark (indicating they are not project files). Regards.