List Info

Thread: branches/kdevelop/3.4/buildtools/autotools




branches/kdevelop/3.4/buildtools/autotoo ls
user name
2007-01-24 11:42:33
SVN commit 626826 by apaku:

Seems I can't read docs.

Matt: Do you want to retag the two files? The build/exectute
target actions on the AM are useless without this fix.
CCMAIL:kdevelop-develkdevelop.org
BUG:140558


 M  +1 -1      autodetailsview.cpp  
 M  +1 -1      autoprojectpart.cpp  


---
branches/kdevelop/3.4/buildtools/autotools/autodetailsview.c
pp #626825:626826
 -367,7
+367,7 
 	else
 		titem = static_cast <TargetItem*> (
m_listView->selectedItem() );
 
-	QString relpath = URLUtil::getRelativePath(
m_part->topsourceDirectory(),
m_part->projectDirectory() ) + "/" +
m_widget->selectedSubproject()->subdir;
+	QString relpath = URLUtil::getRelativePath(
m_part->topsourceDirectory(),
m_part->projectDirectory() ) + "/" +
m_widget->selectedSubproject()->relativePath();
 
 	m_part->buildTarget(relpath, titem);
 }
---
branches/kdevelop/3.4/buildtools/autotools/autoprojectpart.c
pp #626825:626826
 -1143,7
+1143,7 
         kdDebug ( 9020 ) << k_funcinfo <<
"Error! : Active target isn't binary (" <<
titem->primary << ") ! -> Unable to
determine the main program in
AutoProjectPart::mainProgram()" << endl;
         program += titem->name;
     }else
-        program += buildDirectory() + "/" +
URLUtil::getRelativePath( topsourceDirectory(),
projectDirectory() ) + "/" +
m_widget->selectedSubproject()->subdir + "/"
+ titem->name;
+        program += buildDirectory() + "/" +
URLUtil::getRelativePath( topsourceDirectory(),
projectDirectory() ) + "/" +
m_widget->selectedSubproject()->relativePath()+
"/" + titem->name;
 
     QString args = DomUtil::readEntry(*projectDom(),
"/kdevautoproject/run/runarguments/" +
titem->name);
 

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )