mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
Kate: don't include files in the CMakeFiles/ dir in the project
These files are generated by cmake, they shouldn't be in the project.
This commit is contained in:
@@ -282,9 +282,8 @@ std::string cmExtraKateGenerator::GenerateFilesString(
|
||||
cmMakefile* makefile = lgen->GetMakefile();
|
||||
const std::vector<std::string>& listFiles = makefile->GetListFiles();
|
||||
for (std::string const& listFile : listFiles) {
|
||||
tmp = listFile;
|
||||
{
|
||||
files.insert(tmp);
|
||||
if (listFile.find("/CMakeFiles/") == std::string::npos) {
|
||||
files.insert(listFile);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user