I am trying to build blender with CLion and I am nearly there, but not quite, and I am not well versed enough to figure out what is wrong, so I am asking here for some help.
Blender - the Open source 3d app, uses CMake and has a makefile wrapper and the build commands are quite straight forward from the command line, but maybe the project layout is a bit unusual.
so, from the guide on blender https://wiki.blender.org/wiki/Building_Blender , one should
git clone https://projects.blender.org/blender/blender.git
the make update creates platform-specific subfolder, in my case on mac build_darwin
this makes the folder structure
When running make from blender-git/blender it successfully builds the application, and if I load
blender-git/blender/GNUMakefile in CLion , I am able to successfully build it, but I have not been
able to create any run configurations that can build & run / build & debug.
Probably someone a bit more experienced with CLion and build systems can make this work, it seems it is almost working.