views:

32

answers:

1

I have a workspace that contains many projects (CDT projects, to be specific). Each project has 4 configurations, but in the future they may have more.

Project B depends on Project A.

In some configurations, I need to prevent Project A from being built.

  1. Is there a way to tell Eclipse not to build Project A for a particular configuration?
  2. If Project B depends on Project A, and we are building Project B with configuration X, and I have used one of the answers to question #1 to prevent Project A from being built in configuration X, then will the whole build fail?
  3. If the answer to #2 is "yes", can I make dependencies be per-configuration, so that in configuration X Project B will not depend upon Project A?
+1  A: 

I'm not sure I really understand what you are trying to do, but perhaps you can configure the builders for your project under Project > Properties > Builders to do what you want (like changing order or disabling individual builders).

Fabian Steeg