Bug 175994 - Single file build runs make in the wrong directory
Summary: Single file build runs make in the wrong directory
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-24 16:20 UTC by mbreugel
Modified: 2008-11-29 18:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
fix (1.03 KB, patch)
2008-11-24 16:23 UTC, mbreugel
Details

Note You need to log in before you can comment on or make changes to this bug.
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