I am sure that to most of you setting up a multi repo project is an absolute "nobrainer" since you probably have worked with Idea IDE for many years. This post is for the rest of us who struggle with setting this up correctly for a little while. I used Eclipse in the past where one can open as many projects at a time as necessary. Later I moved on to sublime editor where one does not see projects - it takes a different approach by working on folders and files.
With CLion we take another approach. In the Jetbrains family of IDEs like CLion one window represents exactly one project. You can open multiple IDE windows but for different projects. Do not get me wrong - I like the simplicity and beauty of this approach!
My embedded C project (now) has the following structure:
- one root folder (/home/mark/devel/epic)
- subfolder epiclibs (the embedded robot library and tools project)
- subfolder epicsamples (some simple sample apps to demonstrate how to use epiclibs)
- subfolder epic (the actual robot applications)
- subfolder docs/html (branch "gh-pages" of the epiclibs repo)