c++ - Xcode 7 handling of include files changed -
since xcode 7 came out, tried compile , run game it, see awesome performance boost ;).
the problem apparently handling of #include files changed in xcode 7. best way explain example:
we have imaginary project flowing structure:
- source_folder
- main_header.h
- utility_code
- my_class.cpp
- my_class.h
now want include main header file in my_class.cpp. in xcode 6, write
#include "main_class.h"
into my_class.cpp , work since starting point of includes @ source_folder level.
in xcode 7, changed , 1 have write
#include "../main_class.h"
since starting point @ same path our my_class.cpp file.
my project rather huge , rewriting includes not option. question if knows if setting of xcode 7 or maybe bug?!?!
your apreciated! cheers, tk
there setting should fix problem. in utilities box right of project screen there option labeled location. default "relative group", changing "relative project" should fix problem. change multiple files @ once, have select them in project navigator , drop-down box should available. location option third top , utilities show/hide button top right of window in xcode 7.2.
Comments
Post a Comment