diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-27 07:01:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-27 07:01:58 +0300 |
commit | f73c993b16c4083f0c72b87ba3f70fa12a5077df (patch) | |
tree | 04031cd45ed05cc542132df2e7554bcf63d3606e /build_files | |
parent | a11c80d3bb254037ecb37476feeec5529bb02434 (diff) |
- 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).
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/cmake_qtcreator_project.py | 5 |
1 files changed, 5 insertions, 0 deletions
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)) |