Get project root path?


Is there a way to retrieve the path of a project’s root folder (where the .jucer file is) in code? Does the Projucer generate any such macro?

Thanks for your help.

Well, this only ever exists on your machine.
But for a develop tool, I created a heuristic similar to this:

1 Like

Thanks, @daniel!