Skip to content

Commit

Permalink
ignore CMake build files
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Sep 4, 2024
1 parent b5b3566 commit dabe4bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ namespace i18n_check
ext.compare(std::filesystem::path(L".cpp")) == 0 ||
ext.compare(std::filesystem::path(L".h")) == 0 ||
ext.compare(std::filesystem::path(L".hpp")) == 0 ||
ext.compare(std::filesystem::path(L".po")) == 0))
ext.compare(std::filesystem::path(L".po")) == 0) &&
// ignore CMake build files
p.path().filename().compare(L"CMakeCXXCompilerId.cpp") != 0 &&
p.path().filename().compare(L"CMakeCCompilerId.c") != 0)
{
filesToAnalyze.push_back(p.path().wstring());
}
Expand Down

0 comments on commit dabe4bc

Please sign in to comment.