1 Reply Latest reply on Feb 2, 2016 2:36 AM by jobi

    Relative path for C files?

    jeremy.herbert

      Hi,

         

      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?

        • 1. Re: Relative path for C files?
          jobi

          Hello Jer,

          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. 

          Thanks
          Jobin