Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-01-18 10:55:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-18 10:55:51 +0400
commit7f08c71f43f487cf278684d9170652c8193e7f48 (patch)
tree4168ddb260046981707b6fbda0d46153c097be64 /build_files/cmake/project_info.py
parenta7c1e339cfdf689d48c92eff46635748b33f9a4f (diff)
cleanup for redefined vars
Diffstat (limited to 'build_files/cmake/project_info.py')
-rwxr-xr-xbuild_files/cmake/project_info.py4
1 files changed, 2 insertions, 2 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"))