Visual Studio 2013 C++ Adding Files To Project -


alright i'm losing mind on extremely simple problem.

what have code directory want add project. of files contained in directory , make namespace. when want include them in cpp file, type this:

 #include <directory1/source.h> 

and i'm sure of since works in project. here i've done:

  • so i've created empty project.
  • copied source files project source directory.
  • then went on visual studio, clicked "show files" button in solution explorer.
  • right clicked files want add , clicked "include in project" button.
  • files added project gives me error this

    error c1083: cannot open include file: 'directory/source.h': no such file or directory 
  • i've tried add directories project property pages->vc++ directories->include directories. didn't work.

how can add source files contained in folders in visual studio c++?

edit: still doesn't work. want add c++ files directory structure.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -