Summary: | Compile File fails to compile some filenames | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Chris <chris> |
Component: | Build tools: Custom Makefiles | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.0.0a4 | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | use complete filenamebase to determine target file name |
Description
Chris
2003-08-02 03:39:49 UTC
I should also have mentioned that the project I was working in was imported from custom makefiles, and the offending file was "discovered" by the project import script. Created attachment 2249 [details]
use complete filenamebase to determine target file name
Take the complete filename base up to the last dot to determine the file name
of the target. The patch also fixes similar bugs in autoproject and
trollproject.
Subject: kdevelop/parts CVS commit by aclu: Take the complete filename base up to the last dot to determine the file name of the target. Fix BR 61994 for auto custom and troll project managers Thank Andreas Koepfle (koepfle in ti.uni-mannheim.de) for the patch CCMAIL: 61994-done@bugs.kde.org M +1 -1 autoproject/autoprojectpart.cpp 1.108 M +1 -1 customproject/customprojectpart.cpp 1.59 M +1 -1 trollproject/trollprojectwidget.cpp 1.116 --- kdevelop/parts/autoproject/autoprojectpart.cpp #1.107:1.108 @@ -722,5 +722,5 @@ void AutoProjectPart::slotCompileFile() QFileInfo fi(fileName); QString sourceDir = fi.dirPath(); - QString baseName = fi.baseName(); + QString baseName = fi.baseName(true); kdDebug(9020) << "Compiling " << fileName << " in dir " << sourceDir --- kdevelop/parts/customproject/customprojectpart.cpp #1.58:1.59 @@ -500,5 +500,5 @@ void CustomProjectPart::slotCompileFile( QFileInfo fi(fileName); QString sourceDir = fi.dirPath(); - QString baseName = fi.baseName(); + QString baseName = fi.baseName(true); kdDebug(9020) << "Compiling " << fileName << "in dir " << sourceDir --- kdevelop/parts/trollproject/trollprojectwidget.cpp #1.115:1.116 @@ -2604,5 +2604,5 @@ void TrollProjectWidget::slotBuildFile() QFileInfo fi(fileName); QString sourceDir = fi.dirPath(); - QString baseName = fi.baseName(); + QString baseName = fi.baseName(true); kdDebug(9020) << "Compiling " << fileName << "in dir " << sourceDir |