How to add directory to include path in visual c++? -
this question should trivial enough didn't find answer. have following hierarchy:
- source.cpp
- thirdparty
- include
- pelib
- pelib.h
- test.cpp
- pelib
- include
i need include "pelib/pelib.h"
. if add $(projectdir)/thirdparty/include
include directories can #include "test.cpp"
can't #include "pelib/pelib.h"
.
according this answer (thanks @umläute) code should work. guess variable $(projectdir)
not pointing directory think.
try adding full path thirdparty/include
include directories , try again.
Comments
Post a Comment