Code::Blocks and global variables

I have a library that I want to #include <myheader.h> instead of #include "path/myheader.h".

If I set search directory for the compiler I'll still have to use #include "myheader.h", but that's not what I'm searching for.

I tried setting a global variable in Code::Blocks, that points to the Include and Lib folders of the library, but that does nothing.

This seems like a trivial problem, but I simply can't get Code::Blocks to find the header file this way.
If I set search directory for the compiler I'll still have to use #include "myheader.h"

If you add "path" the compiler search directory (project/Build options/Search directories tab) you should be able to use the <myheader.h> type of #include statement.



You're right.
I simply assumed that's not possible..for some reason.
Anyway thanks!
Topic archived. No new replies allowed.