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

CMake Support in KDevelop 4.3.0 RC1

Tags: None
(comma "," separated)
User avatar
punkkeks
Registered Member
Posts
4
Karma
0
OS

CMake Support in KDevelop 4.3.0 RC1

Tue Feb 28, 2012 1:36 pm
hi guys,

I really love KDevelop but what happend?
When I tried to compile it, it broke up, because of an missing inlcude. Not that cool.
But nevermind. Should be a piece of cake for somebody who uses c++. (debuggers/gdb/unittests/debugeeslow.cpp : #include <unistd.h> for sleep() in line 26)
So I compiled it and openend and ... what? Where is the cmake support? I tried to open it via project->import but only the .kdev4 files are supported. Even when I try to open it "manually" by typing in the filename there is no CMake support in the "build-system".
What I have to do, to enable CMake?

Regards,
User avatar
Milian Wolff
KDE Developer
Posts
61
Karma
1
OS
please read this: http://techbase.kde.org/Projects/KDevelop4/HowToCompile

i.e.: you are most definitely missing the call to kbuildsycoca4 with proper KDEDIRS env var set

regarding compile error: report it as a bug on bugs.kde.org and make sure you tried current master and supply us information about what system you are using (bsd? linux? distro? compiler? ...)


current KDE projects: Quanta, KDevelop, Kate
User avatar
punkkeks
Registered Member
Posts
4
Karma
0
OS
Hmmm.
I think it was the "kbuildsycoca4" command that was missing.
Why don't you include this in the cmake file? It would me sometimes easier.

But thanks for your reply. It works now. I somehow did not find that page.

Regards
User avatar
Milian Wolff
KDE Developer
Posts
61
Karma
1
OS
kbuildsycoca is not part of the build/compile process but rather of the runtime process and hence has nothing to do in the CMakeLists.txt

Esp. considering that it depends on a proper KDEDIRS path set etc. pp.

anyhow, this is out of the discussion


current KDE projects: Quanta, KDevelop, Kate


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell