This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to add header files

Hi, everyone,

I am new with the uvision IDE. Can anyone tell me how should I supply source and header file to project so that my header files can be access without relative path declaration ?? so that I dont have to write whole path but I can include header files like

#include "filename.h"

when I create group in the project it creates all the files in the same folder the project is... But I want directory and files structure..

Parents
  • In Keil uVision you set the include path from Project -> Options for Target ... -> C/C++. There, in the lower half of the window you can modify the Include Paths.

Reply
  • In Keil uVision you set the include path from Project -> Options for Target ... -> C/C++. There, in the lower half of the window you can modify the Include Paths.

Children
No Data