Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Adding a new module as a dependency(CDT Internal Builder)
Adding a new module as a dependency [message #1837619] Wed, 03 February 2021 09:29 Go to next message
Tony Flury is currently offline Tony FluryFriend
Messages: 1
Registered: February 2021
Junior Member
This is probably incredibly simple, but I am using Eclipse Version: 2020-12 (4.18.0) on Ubuntu 20.04.

I started a new C project using the CDT internal builder, using Hello World as a template.

I then added a new module to this project - Right click add new file;.

I can't work out how to make the CDT builder recognise this new module as part of the project. When I build the project, it only tries to build the the original (now renamed module), and makes no attempt to link against the new module. I am very surprised that adding a new module did't come with an option to add this to project as a target/dependency.


Re: Adding a new module as a dependency [message #1837738 is a reply to message #1837619] Fri, 05 February 2021 06:41 Go to previous message
Mark Smith is currently offline Mark SmithFriend
Messages: 82
Registered: September 2020
Member
From the main menu, select File | Project Structure Ctrl+Alt+Shift+S and click Modules | Dependencies.
Click. Alt+Insert and select a dependency type: JARs or directories: select a Java archive or a directory from files on your computer.
Previous Topic:Still get nothing to build error
Next Topic:How to install eclipse for embedded c/c++ developers on Ubuntu?
Goto Forum:
  


Current Time: Wed Oct 09 17:20:20 GMT 2024

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

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

Back to the top