Mercurial > codeOptimizer
diff Compilable.py @ 4:3a56cd936c59
Cleanup some code.
Add code for breaking loops in the dependency tree.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Mon, 24 Sep 2012 01:16:43 +0200 |
| parents | a1224150b8f6 |
| children | 09b39021c4af |
line wrap: on
line diff
--- a/Compilable.py Sun Sep 16 21:31:41 2012 +0200 +++ b/Compilable.py Mon Sep 24 01:16:43 2012 +0200 @@ -125,3 +125,14 @@ def __repr__(self): return self.path + + + @staticmethod + def acceptsFile(name): + if name.endswith(".hpp"): + return True + if name.endswith(".h"): + return True + if name.endswith(".cpp"): + return True + return False
