reusing the same file in different targets (or: a rant)

Hello,
Why does uv3 not allow me to add the file "foo.h" to different targets? or maybe I am missing something? I am actually trying to add the same file twice to different targets. the fact that I get an error is highly annoying as I want to place common data of an application and bootloader in a share include file, and use the same project file but with different targets.

Parents
  • Why does uv3 not allow me to add the file "foo.h" to different targets?

    Hmmm... why would you want to add a header file to a target in the first place? You wouldn't compile that anyway!

    As to files common to multiple targets, the obvious approach would be to create a source file group name something like "common" and put them in there.

Reply
  • Why does uv3 not allow me to add the file "foo.h" to different targets?

    Hmmm... why would you want to add a header file to a target in the first place? You wouldn't compile that anyway!

    As to files common to multiple targets, the obvious approach would be to create a source file group name something like "common" and put them in there.

Children
More questions in this forum