I have an issue with cmake generated XCode project. I have Classes
folder which contains all source code organized into subfolders, the problem is that when i need to include a header i need to specify relative path i.e
Classes/
MyApp.h
scenes/
MyScene.h
To include MyScene.h
in MyApp.h
i would have to use something like this #include "scenes/MyScene.h"
. Now i know how to fix that in XCode alone, but regenerating project will remove my settings.
How would i need to modify CMakeLists.txt
to properly add my Classes
folder to user header search paths ?