Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Referenced projects building(Building the correct Reference project configuration)
Referenced projects building [message #1775594] Wed, 01 November 2017 19:13 Go to next message
Eclipse UserFriend
Setting up a project dependency via:
C/C++ General -> Paths and Symbols -> References

When building the top-level project, it does not build the correct configuration that I have selected in the "References" above. Instead, it builds the 'active' configuration

Same issue as: https://www.eclipse.org/forums/index.php/t/207087/ from a few years back.

Is there a workaround, or is this a bug?
Re: Referenced projects building [message #1775724 is a reply to message #1775594] Fri, 03 November 2017 22:51 Go to previous messageGo to next message
Eclipse UserFriend
Go to your Project Properties -> C/C++ General -> Paths and Symbols.

The right-most tab is named References, go there and you should find what you need to properly setup your Project references.

index.php/fa/31218/0/
Re: Referenced projects building [message #1775999 is a reply to message #1775724] Wed, 08 November 2017 20:16 Go to previous messageGo to next message
Eclipse UserFriend
again:

"When building the top-level project, it does not build the correct configuration that I have selected in the "References" above. Instead, it builds the 'active' configuration"
Re: Referenced projects building [message #1803671 is a reply to message #1775594] Wed, 06 March 2019 09:26 Go to previous messageGo to next message
Eclipse UserFriend
There are 2 places to set your project references.
1. is the one you are trying and
2. The one in the same level as C/C++ General named Project References.

Your issue is happening probably because Project References is also checked. I have had the same issue previously.
Where it gets more hairy is that even if you deselect this in second project references, Eclipse will re-select it automatically sometimes.

Re: Referenced projects building [message #1841174 is a reply to message #1803671] Wed, 05 May 2021 12:24 Go to previous message
Eclipse UserFriend
Panagiotis-Dimitrios Paraskevopoulos wrote on Wed, 06 March 2019 14:26

Where it gets more hairy is that even if you deselect this in second project references, Eclipse will re-select it automatically sometimes.



Hi there,

Have you been able to find a way to prevent this from happening? It's currently happening to me, and it's such a headache. Thanks!
Previous Topic:Is there a way to stop Eclipse from auto-selecting project references?
Next Topic:After successful build at the comand line I get Eclipse error JVM terminated. Exit code=1[SOLVED]
Goto Forum:
  


Current Time: Wed Jul 16 04:55:09 EDT 2025

Powered by FUDForum. Page generated in 0.54812 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top