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.

How to get relative C source files links in a CCE project so that it can be moved onto different file system locations ?

Hello,

for a series of embedded firmware projects, we have the following simplified file structure:

device/sources/common

device/sources/common/inc

device/sources/specific1

device/sources/specific1/inc

device/sources/specific2

device/sources/specific2/inc

device/proj/TI CCE/proj1

device/proj/TI CEE/proj2

.......................................

device/proj/TI CEE/projn

The folders proj1, proj2 up to projn contain projects with links to source files into the different sources folders and subfolders.

device and all its subfolders reside on the desktop of my computer. So the selected CCE workspace is C:\Users\Franco\Desktop\device\TI CCE\

If we move device and all its subfolders to the desktop of another computer (Federico's for example)  and we specify the new CCE workspace accordingly (C:\Users\Federico\Desktop\device\TI CCE\), the projects won’t work correctly because CCE makes absolute path references to the C source codes and their related include files.

We found a way to specify a relative path for the include files by the Property option of the projects:

C/C++ Build->MSP430 Compiler v3.1 -> General options-> --include_path: "${workspace_loc:/proj1}../../../../sources/general/inc"

However we could not find any way to specify a relative path for the links to the C source files. CCE through its IDE always pretends absolute paths.

We are working with 2 licenses of CCE professional that we received at the ATC2008 conference and we updated it to the 3.1 SP version.

Thank you in advance for your help