Shop OBEX P1 Docs P2 Docs Learn Events
Do C/C++ compilers search the whole build folder for include files? — Parallax Forums

Do C/C++ compilers search the whole build folder for include files?

RaymanRayman Posts: 14,643

Just started trying to port some Wiznet code for RP2040...

It seems the main program includes files that are buried deep in a folder tree.
FlexProp doesn't seem to look outside the main folder.
Do other compilers search inside all subfolders in the build folder by default?

Or, maybe I need to include the build folder as a library folder?
Just trying to figure out the best approach...

I typically just put everything in the build folder, but maybe better to have drivers in subfolders?

Comments

Sign In or Register to comment.