diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-01-25 20:44:52 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-01-25 20:44:52 (GMT) |
commit | bd531d3fae559666746e4072858ab404bed6107c (patch) | |
tree | 09d4d359d6e57fee203c10f5310b7b805bc627a8 /Source/cmGlobalKdevelopGenerator.cxx | |
parent | 2f84bd17581920eb5cbfc3b41e8cf477ba6a5853 (diff) | |
download | CMake-bd531d3fae559666746e4072858ab404bed6107c.zip CMake-bd531d3fae559666746e4072858ab404bed6107c.tar.gz CMake-bd531d3fae559666746e4072858ab404bed6107c.tar.bz2 |
BUG: fix for 4186, kdevelop adding file twice
Diffstat (limited to 'Source/cmGlobalKdevelopGenerator.cxx')
-rw-r--r-- | Source/cmGlobalKdevelopGenerator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx index 554cc51..1bd2f22 100644 --- a/Source/cmGlobalKdevelopGenerator.cxx +++ b/Source/cmGlobalKdevelopGenerator.cxx @@ -17,7 +17,7 @@ =========================================================================*/ #include "cmGlobalKdevelopGenerator.h" -#include "cmLocalKdevelopGenerator.h" +#include "cmLocalUnixMakefileGenerator3.h" #include "cmMakefile.h" #include "cmake.h" #include "cmSourceFile.h" @@ -36,7 +36,8 @@ cmGlobalKdevelopGenerator::cmGlobalKdevelopGenerator() ///! Create a local generator appropriate to this Global Generator cmLocalGenerator *cmGlobalKdevelopGenerator::CreateLocalGenerator() { - cmLocalGenerator *lg = new cmLocalKdevelopGenerator; + cmLocalUnixMakefileGenerator3 *lg = new cmLocalUnixMakefileGenerator3; + lg->SetForceVerboseMakefiles(true); lg->SetGlobalGenerator(this); return lg; } @@ -185,6 +186,7 @@ bool cmGlobalKdevelopGenerator hname += *ext; if(cmSystemTools::FileExists(hname.c_str())) { + cmSystemTools::ReplaceString(hname, projectDir.c_str(), ""); files.insert(hname); break; } |