I am working on a Cocos2D-X project. I am trying to organize my code files into sub-folders inside the Classes folder. The Classes folder is being shared for both iOS and Android. If I just leave the code files in the Classes folder everything works fine but if I place them into sub-folders I get all types of errors. I've linked the sub-folders in my Project Properties and even added the sub-folders in the Android.mk file but no luck.
I've been Googling/Reading articles and everywhere it keeps saying that you have to keep all classes in the root 'Classes folder'. FOr small projects that might not be an issue but as the project gets bigger it will become a nightmare having to always run through one folder full of all the code files.
Could someone please advise if there is a way to organize .h/.cpp files into sub-folders in Cocos2D-X project.