diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-18 10:55:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-18 10:55:51 +0400 |
commit | 7f08c71f43f487cf278684d9170652c8193e7f48 (patch) | |
tree | 4168ddb260046981707b6fbda0d46153c097be64 /build_files | |
parent | a7c1e339cfdf689d48c92eff46635748b33f9a4f (diff) |
cleanup for redefined vars
Diffstat (limited to 'build_files')
-rwxr-xr-x | build_files/cmake/project_info.py | 4 | ||||
-rw-r--r-- | build_files/cmake/project_source_info.py | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/build_files/cmake/project_info.py b/build_files/cmake/project_info.py index 65afd109302..77574f17e2e 100755 --- a/build_files/cmake/project_info.py +++ b/build_files/cmake/project_info.py @@ -133,7 +133,7 @@ def cmake_advanced_info(): """ Extracr includes and defines from cmake. """ - def create_eclipse_project(CMAKE_DIR): + def create_eclipse_project(): print("CMAKE_DIR %r" % CMAKE_DIR) if sys.platform == "win32": cmd = 'cmake "%s" -G"Eclipse CDT4 - MinGW Makefiles"' % CMAKE_DIR @@ -145,7 +145,7 @@ def cmake_advanced_info(): includes = [] defines = [] - create_eclipse_project(CMAKE_DIR) + create_eclipse_project() from xml.dom.minidom import parse tree = parse(join(CMAKE_DIR, ".cproject")) diff --git a/build_files/cmake/project_source_info.py b/build_files/cmake/project_source_info.py index a39ed94bd69..ed17ec5bac4 100644 --- a/build_files/cmake/project_source_info.py +++ b/build_files/cmake/project_source_info.py @@ -160,7 +160,6 @@ def build_info(use_c=True, use_cxx=True, ignore_prefix_list=None): def queue_processes(process_funcs, job_total=-1): """ Takes a list of function arg pairs, each function must return a process """ - import sys if job_total == -1: import multiprocessing |