This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDevelop does not manage the build files?

Tags: None
(comma "," separated)
carolineb
Registered Member
Posts
7
Karma
0
Hello everyone, I created a console C++ application, and to compile and build, I created a Makefile. I was able to import my Makefile into KDevelop and my application compiled and built very fast, I was pleased by how KDevelop launched multiple g++ processes to compile the entire application at once!

Then I decided to create a blank project and see how the IDE manages my build process instead of using my own Makefile. I noticed that a CMakeLists.txt file was automatically created, so I wondered if CMake is recommended instead of Make. Next, I struggled trying to figure out where to find IDE options to specify libraries (such as Boost, GraphicsMagick, etc.). and finally came to the conclusion that we must manually edit our build files. Am I correct to assume that this is the case?

Secondly, I am just now learning KDevelop. Should I use KDevelop with Make (since I already know how to create Makefile) or would you recommend that I learn CMake instead (I will only build for Linux and will not do any cross-platform work).

Thank you!
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Yes, that is correct. I highly recommend using cmake -- it is much easier to write, and much more abstract than writing makefiles by hand. KDevelop doesn't manage your CMakeLists.txt for you, you need to do that yourself.


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]