Bug 175994

Summary: Single file build runs make in the wrong directory
Product: [Applications] kdevelop Reporter: mbreugel <mbr.nxi>
Component: Build tools: CMakeAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: fix

Description mbreugel 2008-11-24 16:20:59 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Single file build runs make in the top directory, instead of the directory the file lives in.

steps to reproduce:
1/ open some project
2/ in the projectview, select .cpp file in a sub-directory
3/ hit the 'builds the selected item in the tree' button [rightmost]
4/ failed, this tries to build in the topdir instead of sub
Comment 1 mbreugel 2008-11-24 16:23:20 UTC
Created attachment 28797 [details]
fix
Comment 2 mbreugel 2008-11-29 18:15:24 UTC
SVN commit 890631 by mbreugel:

Execute single file build in the correct directory.
BUG: 175994


 M  +8 -5      cmakebuilder.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=890631