I'm working on a small C++ library in Xcode and would like to normalize my file includes. As it currently stands, my #includes are taking the shape of #include "Exchange.hpp", but would like to be able to use the #include <Ludere/Exchange.hpp> syntax in case I end up restructuring the project (Ludere is the project name).
I've been messing around with the build settings and have tried adding $(SRCROOT) to the search header paths but have yet to find a solution. We use this header syntax in Xcode at work but haven't found a way to set this up on my own project.
It might be useful to mention I'm developing this library, so the include directives would be used in library internal files.
#include <Ludere/Exchange.hpp>unless you put your library headers into LLVM's pre-configuredincludepath, instead you'll have to use#include "Ludere/Exchange.hpp". Have you tried doing this and building your project? What is the difference between #include <filename> and #include “filename”?