I have an Eclipse workspace with several C projects: Project1, Project2, Project3, ... Project2, Project3, etc. all include the title from Project1. This header is heavy in preprocessor directives such as:
#ifdef OPTION1
typedef MY_INT int;
#endif
To get Eclipse to find MY_INTProject2, Project3 in the code, I must currently add a preprocessor definition OPTION1for each project separately.
Is there a way to determine OPTION1globally, only once, for all projects in the workspace.
alexc source
share