summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-10-05 19:16:17 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-10-05 19:16:17 (GMT)
commit9072535f836154c7a87bff4569741b86ccfc297f (patch)
tree11fa7c8e370f04f928a14f3c10048bdfe60cce3a /Source/cmExtraCodeBlocksGenerator.cxx
parentd0d8f029ab4f9deb4ff88a313fa5ba5c9247ab2b (diff)
downloadCMake-9072535f836154c7a87bff4569741b86ccfc297f.zip
CMake-9072535f836154c7a87bff4569741b86ccfc297f.tar.gz
CMake-9072535f836154c7a87bff4569741b86ccfc297f.tar.bz2
CodeBlocks Generator: Do not omit files in the project file listing.
The CodeBlocks generator used to omit files that were in siblings directories. Though that filters out a few files that could be argued aren't of interest to the user, it also potentialy hides files that are relevant to the user. Patch by Daniel Teske. Alex See: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2250 for an example.
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx
index 4cb2b48..e6d7a6d 100644
--- a/Source/cmExtraCodeBlocksGenerator.cxx
+++ b/Source/cmExtraCodeBlocksGenerator.cxx
@@ -289,14 +289,10 @@ void cmExtraCodeBlocksGenerator
std::string fileName = *(splitted.end()-1);
splitted.erase(splitted.end() - 1, splitted.end());
- // We don't want paths with ".." in them
- // reasons are that we don't want files outside the project
- // TODO: the path should be normalized first though
// We don't want paths with CMakeFiles in them
// or do we?
// In speedcrunch those where purely internal
if (splitted.size() >= 1
- && relative.find("..") == std::string::npos
&& relative.find("CMakeFiles") == std::string::npos)
{
tree.InsertPath(splitted, 1, fileName);