[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/kdevelop/3.4/buildtools/custommakefiles
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2007-02-18 18:40:18
Message-ID: 1171824018.944440.29967.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 634892 by apaku:
Ooops, forgot to implement the "remove files that don't fit wildcards" part.
M +3 -1 customprojectpart.cpp
--- branches/kdevelop/3.4/buildtools/custommakefiles/customprojectpart.cpp #634891:634892
@@ -394,9 +394,11 @@
void CustomProjectPart::cleanFileList()
{
QStringList temp;
+ QFileInfo fi;
for( QStringList::const_iterator it = m_sourceFiles.begin(); it != m_sourceFiles.end(); ++it )
{
- if( !QFileInfo( projectDirectory()+"/"+*it ).exists() )
+ fi.setFile( projectDirectory()+"/"+*it );
+ if( !fi.exists() || ( fi.isFile() && !this->isProjectFile( fi.fileName() ) ) )
temp << *it;
}
removeFiles( temp );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic