[FR] CLion Exporter Project Root Exporter Setting

projucer

#1

Any chance we could get a Project Root setting for CLion in the Projucer?


#2

From Projucer’s point of view, the project root is the folder that contains the .jucer file. What exactly would you use this Project Root setting for?


#3

The Projucer seems to set the root to where the CMakeLists.txt file is, which is not where the .jucer file is contained and so the Project Tool Window does not reflect the project directory structure very well (it’s just a long list for me). Moving the project root up by two levels to where the .jucer file is tidies things up a bit for me.

Just to note, I’m fairly new to CMake/ CLion so if I’m doing something wrong do let me know.


#4

plus one here, not sure about the logic behind it, but I do need to set the project root, to get clion to present the source files in the right structure. (and for all the features to work)


#5

Had same annoyance. I gaffer taped it.

in

\JUCE\extras\Projucer\Source\ProjectSaving\jucer_ProjectExporter.cpp

I just did…

and it worked fine.