| Eclipse-CDT and Makefiles [message #1007635]
||Wed, 06 February 2013 20:01
| Stan Rosenbaum
Registered: February 2013
I am hoping someone can clear up some serious confusion this newbie has about Eclipse-CDT and makefiles.
Yes, I have read the help files, and searched the internet and I just cannot find a clear answer.
This is what I understand. In Eclipse-CDT you can 2 types of projects, a managed makefile project [in which eclipse takes care of making a makefile and then building from it transparently in the background when you it build or debug. Or you can have a project in which you manual make the makefile yourself.
[Let me know if I got that correct.]
Now, I am fine with eclipse taking care of that itself but is there anyway to see the actually makefile it generates?'I I am just curious to see what is makes compares to something i make, for my own edification.
Second, I am totally confused about manual makefile projects.
If I create a makefile itself, I totally do not see how you tell eclipse how to use your own makefile verses what it does transparently. I mean frist, I have to create the Makefile file, which seems odd, because I just eclipse "Hey I am going to take care of the makefile myself" you think it would have made an initial makefile to get me started. But I import a makefile my targets in that existing makefile do not show up in the in run configuration, and they usually do not even show up in the make targets window. But then I discover, I can't use the run/debug configuration button to create a new target, there is that separate right-click contextual menu in the project for 'Make Target'. But then if I make a target, that target is not associated with the build configurations.
I am really confused about the two processes, and the documentation really isn't that clear enough in my opinion on explaining the differences or best practices with each, so could someone enlighten me?
Powered by FUDForum
. Page generated in 0.04618 seconds