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

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

Popular posts from this blog

Java 8 + Maven Javadoc plugin: Error fetching URL -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -