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>2011-02-25 17:45:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-25 17:45:45 +0300
commite06eea4fbad2932dcceab99ee865ac02a6078129 (patch)
treeca9f43d80b2e5e1808425722cb181de0c38c0ff9 /build_files/cmake/cmake_qtcreator_project.py
parent2cf20fde1b2f3494b8bd12e73fb9ccc17959f536 (diff)
fix for scons with recent change to how BINRELOC is enabled via cmake.
also add WITH_PYTHON define to qtcreator project generator until we get a way to add them properly.
Diffstat (limited to 'build_files/cmake/cmake_qtcreator_project.py')
-rw-r--r--build_files/cmake/cmake_qtcreator_project.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/cmake/cmake_qtcreator_project.py b/build_files/cmake/cmake_qtcreator_project.py
index ca214338298..925aee564b8 100644
--- a/build_files/cmake/cmake_qtcreator_project.py
+++ b/build_files/cmake/cmake_qtcreator_project.py
@@ -94,6 +94,8 @@ qtc_cfg = join(base, "%s.config" % PROJECT_NAME)
if not exists(qtc_cfg):
f = open(qtc_cfg, 'w')
f.write("// ADD PREDEFINED MACROS HERE!\n")
+ # todo, include real defines.
+ f.write("#define WITH_PYTHON\n")
print("Project file written to: %s" % qtc_prj)
# --- end