Summary: | KDevelop is not finding the kde4_add_executable cmake function | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Blackpaw <lindsay.mathieson> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | lindsay.mathieson |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | The source of the project which demonstrates the problem |
Description
Blackpaw
2010-01-31 14:45:23 UTC
Created attachment 40412 [details]
The source of the project which demonstrates the problem
When loading this project in kdevelop it should fail to display the executable icon in the project tree.
kde4_add_executable(blackweb ${blackweb_SRCS}) is in:
blackweb/src/CMakeLists.txt
Note:Adding "kde4_add_executable(blackweb ${blackweb_SRCS})" to the root CMakeLists.txt will cause the project executable icon to appear, though of course the project will now fail to build :( Hmm, this works fine for me here. I get this hierarchy: blackweb | |- src | | . |- blackweb (this is the executable target) . . | . . |- bapplication.cpp .... Can you please run kdebugdialog and enable the 2 cmake debug areas. Then run kdevelop --sessions to find the session with your project and then run KDEV_SESSION={the session number} kdevelop >2&1 | tee kdevelop.log And attach the logfile here. Ok, I'm at more machine and it works fine just as you describe ... I could swear its not on my home machine. Will double check that when I get home and let you know one way or another! Checked my home pc and its there as well (the executable icon). Don't know how I managed to miss it all this time, sorry for wasting your time. |