|
Re: unmanaged make files project howto [message #1817817 is a reply to message #1817714] |
Fri, 29 November 2019 15:12 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
with CDT you have two choices.
*) Managed Build project where Eclipse creates and modifies the makefile
*) Makfile project where you assume all responsibility for the makefile
If you already have a makefile, import the project with Existing Code as Makefile Project.
File --> Import --> C/C++ --> Existing Code as Makefile Project.
It's your responsibility to maintain the makefile.
The toolchain is mostly for Managed Builds but it is also used to get the compiler builtins.
So, you will need to select one.
You will have to edit the makefile to use it, though.
A Managed Build project is easier for beginners but it will destroy any existing makefile.
One limitation is it can only deal with one executable per project.
Another is you can't do anything fancy when using make.
If you don't know what that means then you probably don't care.
The project can be kept in the workspace but I usually keep it in a separate directory.
It's possible to convert a Makefile Project to Managed Build by setting
Project --> Properties --> C/C++ Build --> Generate Makefiles automatically
[Updated on: Tue, 03 December 2019 11:05] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02990 seconds