This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

linking C files in CCE

Hi,

I am new to CCE. Can someone tel me how to link .c files to a project in CCE. When i link a .c file using project-> Link files to project, i can link the file but the path is absolute. I want to link the files with path relative to the project.

Thanks

Anshul

  • By default, when linking source files using Project->Link Files to project, the absolute path is used. But you could set up something called linked resource path variables and set your path relative to the path variable. This is available under Window->Preferences->General->Workspace ->Linked Resources.

    This also allows your project to be more portable. If a new user would then take this project, they can define this path variable for their system, but project would stay the same. These topics are also documented in the CCE Help, under "Creating Linked Resources" and "Path variables".

**Attention** This is a public forum