- use Py_CLEAR for python internally referencing other PyObjects (supposed to be safer).

- detect includes for qtcreator projects as well as the ones from cmake (it didnt return all of the right paths).
This commit is contained in:
Campbell Barton
2011-02-27 04:01:58 +00:00
parent a11c80d3bb
commit f73c993b16
4 changed files with 13 additions and 5 deletions

View File

@@ -171,6 +171,11 @@ def main():
else:
includes, defines = cmake_advanced_info()
# for some reason it doesnt give all internal includes
includes = list(set(includes) | set(dirname(f) for f in files_rel if is_c_header(f)))
includes.sort()
PROJECT_NAME = "Blender"
f = open(join(base, "%s.files" % PROJECT_NAME), 'w')
f.write("\n".join(files_rel))