From f73c993b16c4083f0c72b87ba3f70fa12a5077df Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 Feb 2011 04:01:58 +0000 Subject: - 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). --- build_files/cmake/cmake_qtcreator_project.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build_files/cmake') diff --git a/build_files/cmake/cmake_qtcreator_project.py b/build_files/cmake/cmake_qtcreator_project.py index 55aa9a75a82..24e168f718f 100644 --- a/build_files/cmake/cmake_qtcreator_project.py +++ b/build_files/cmake/cmake_qtcreator_project.py @@ -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)) -- cgit v1.2.3