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

KDevelop starter questions

Tags: None
(comma "," separated)
avalchev
Registered Member
Posts
1
Karma
0

KDevelop starter questions

Wed Dec 27, 2017 7:08 pm
Hello guys,
first to say that I've started using Ubuntu in a couple of weeks and I was searching for good IDE. So far KDevelop seems really nice, however I have some questions:

1. When I am creating a new project(Standard->Terminal with CMake), in the Project tab there are a lot of folders(are they?) generated:
- "edit_cache"; "install"; "install/local", "install/strip", "list_install_components", "rebuild_cache" - what are they for? why I need them? can I remove them?
- and at the end there is once more the project name as folder? why I need this folder? can i remove it?
2. When I add a new file in the project( .h or .cpp ), should I expect that CMakeList.txt will be updated from KDevelop, or I have to manually add the file in the CMakeList?
3. When I am creating the project, KDevelop asks me what configuration I want(Release; Debug and two more that i do not remember). Can I change that one later? Or changing it means that I should change something in CMakeList.txt or create a new CMakeList that will be for Release(or whatever)?

I would really appreciate if someone helps with answers or tutorials where i can find the answers..
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: KDevelop starter questions

Wed Dec 27, 2017 7:15 pm
1. Those are targets, not folders -- there's a button in top toolbar of the project view which disables listing targets. Turn that off if you don't need to display them.

2. That feature doesn't exist at the moment, you have to add it by hand. It's a relatively complex question (which target do you want to add it to, etc) for relatively little gain ...

3. You can change that, in the project settings (right click project -> open configuration), there's a combo box.

Best,
Sven


I'm working on the KDevelop IDE.


Bookmarks



Who is online

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