I am using IAR for STM8S series.
Go To Project->Options->C/C++ compiler->Preprocessor->Addition Include Directories.
Here we can set path header files usually user created.
Now problem is I made a project in IAR. In it I have my .c/.h files.
For headers files I have given the path where they are located. I am able to successfully compile the code.
Now I copy the entire project folder & opened that copied project. (copy is to maintain backup of codes)
Now compiler could't open the header files, since path is now changed.
How can I give such a path so that everytime I build the code, IAR looks for header files in the current project folder, not from where it was copied.
This can be done in keil by giving path as '.\header'.
But this does n't work in IAR
Go To Project->Options->C/C++ compiler->Preprocessor->Addition Include Directories.
Here we can set path header files usually user created.
Now problem is I made a project in IAR. In it I have my .c/.h files.
For headers files I have given the path where they are located. I am able to successfully compile the code.
Now I copy the entire project folder & opened that copied project. (copy is to maintain backup of codes)
Now compiler could't open the header files, since path is now changed.
How can I give such a path so that everytime I build the code, IAR looks for header files in the current project folder, not from where it was copied.
This can be done in keil by giving path as '.\header'.
But this does n't work in IAR