We keep all of our code in source control, and share code across different products. I'd like to include this code in-place (without copying or moving it) in a psoc creator project, but it seems that when I add an existing C file, it always adds it with an absolute path rather than a relative one. Is there a way to force it to use a relative path?
Kindly let us know how you are adding the C files. The recommended way is to do it from workspace explorer.
#1 Right Click "Source Files"
#2 Add -> Existing Item
#3 Browse and select the C files
While doing this PSoC Creator will take a relative path to the C file.