- use Py_CLEAR for python internally referencing other PyObjects (supposed to be...
[blender-staging.git] / build_files / cmake / cmake_qtcreator_project.py
index 55aa9a75a827e6c81cb3a303740b70382f8819f8..24e168f718f40815282070ff9c3ff00a9e63a014 100644 (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))