Altera_Forum
Honored Contributor
16 years agoHow do you share files in an Eclipse projects?
I'm starting a second project based on my first NIOS II project. All but 3 of the source files are the same. I want to create a Common_Source folder for the common files and share this with 2 or more projects. I know I can create a library, but these files depend on system.h which prevents this from working. I want to build these with each project's settings.
Short of putting C files in the project with# include "../Common_Source/filename.c", is there a better way? Thank you! Bill A.