[Scummvm-git-logs] scummvm master -> cc015ed40d85bb7287c8e707dc3994637e9131ec
SupSuper
supsuper at gmail.com
Tue Feb 2 10:01:49 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cc015ed40d CREATE_PROJECT: Don't exclude header files
Commit: cc015ed40d85bb7287c8e707dc3994637e9131ec
https://github.com/scummvm/scummvm/commit/cc015ed40d85bb7287c8e707dc3994637e9131ec
Author: SupSuper (supsuper at gmail.com)
Date: 2021-02-02T10:00:00Z
Commit Message:
CREATE_PROJECT: Don't exclude header files
We can't accurately determine which header belongs to which object,
so leave them in. They don't affect the compilation anyway.
Changed paths:
devtools/create_project/create_project.cpp
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp
index 6ab5e0daee..d97d60d79d 100644
--- a/devtools/create_project/create_project.cpp
+++ b/devtools/create_project/create_project.cpp
@@ -1479,12 +1479,12 @@ FileNode *scanFiles(const std::string &dir, const StringList &includeList, const
continue;
}
- if (isInList(dir, i->name, excludeList))
- continue;
-
std::string name, ext;
splitFilename(i->name, name, ext);
+ if (ext != "h" && isInList(dir, i->name, excludeList))
+ continue;
+
if (!isInList(dir, i->name, includeList))
continue;
More information about the Scummvm-git-logs
mailing list