If you have control over the files, I highly recommend taking 3 minutes to make a JUCE module — if nothing else than to wrap the code you need and make the build system nice and easy. See the module API, or other JUCE modules for an example on how to do it.

If that’s not an option, you could add more directories by modifying the file(GLOB_RECURSE SourceFiles line in the CMakeLists.txt. If you use Xcode, you may need to also add to source_group to have things show up in your IDE.

But again, I recommend sticking with JUCE modules and keeping the IDE source tree reflective of your actual filesystem.


Leave a Reply

Your email address will not be published. Required fields are marked *