CMake: add missing headers, use space before comments

This commit is contained in:
Campbell Barton
2019-10-29 01:32:33 +11:00
parent 74c9a4769e
commit 312075e688
37 changed files with 145 additions and 122 deletions

View File

@@ -149,6 +149,9 @@ def cmake_get_src(f):
if not l.startswith("#"):
# Remove in-line comments.
l = l.split(" # ")[0].rstrip()
if ")" in l:
if l.strip() != ")":
raise Exception("strict formatting not kept '*)' %s:%d" % (f, i))