Build 'n Debug a C/C++ KDevlop cmd prompt project
I have had a fair amount of programming experience in the Linux cmd prompt environment but would like to use Kdevelop (either 2.1 or 3.1, using 2.1 now that shipped with SuSE 8.2).
ALL of my IDE programming experience is in MS visual Studio, however my several day through Kdevelope have been a bit aggravating.
To begin I am building a C++ cmd prompt ONLY app that is using an existing API, i.e. I have all the libraries (.so) and headers that define my API and middleware. Additionally I already have an existing Makefile.
My problem was encountered when initially creating my project, initially choosing a C/C++ cmd prompt app. Then this complex makefile, doc, template framework was slammed on me in a directory that did not even exist at my API release local location.
previous posts mention something about a ./configure, which after initial investigation did help much. I suppose my makefile is too simple or may not be compatible with Kdevelope (the makefile(s) that this software creates read like Latin and I DO NOT need half the crap it creates or wants me to create.
Now a custom app creation got me further after adding files and stuff, but again this Makefile.am thing bothers me and seems to appear or want to appear in every directory I have. I found that if I edit the project file to specify what I want helps, but some parts I am unaware on how to change or what to add. From here I was at least able to use my makefile and build, but was not able to set break points to debug and step through.
Could someone provide a good known tutorial on CUSTOM and C++ cmd prompt only projects. The ones available across the web always use a GUI project as the example and is of little use to me.
Perhaps I need to follow the same instructions from these tutorials and live with all the added mess or maybe this is the only way to use this software. Hopefully not.
Hell if someone could even provide a short procedure and or description of the bare minimum needed to get me started on just a main build and debug, this would be great. I'll figure out the rest.
|