Add more default file extensions for source and header files

This commit is contained in:
Thraix
2020-03-02 22:10:54 +01:00
parent f68861367b
commit 80c64aa499
4 changed files with 51 additions and 38 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ IncludeDeps::IncludeDeps(const std::string& filename, const std::string& dir, co
IncludeDeps::IncludeDeps(const std::string& filename, const std::string& dir, bool projectHFile, const std::set<HFile>& files, std::map<std::string, IncludeDeps*>& allDeps)
: filepath(dir+filename), projectHFile{projectHFile}
{
if(filename[filename.length() - 1] =='h')
if(Utils::IsHeaderFile(filename))
{
allDeps.emplace(filepath, this);
}