diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-25 17:45:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-25 17:45:45 +0300 |
commit | e06eea4fbad2932dcceab99ee865ac02a6078129 (patch) | |
tree | ca9f43d80b2e5e1808425722cb181de0c38c0ff9 /build_files/cmake/cmake_qtcreator_project.py | |
parent | 2cf20fde1b2f3494b8bd12e73fb9ccc17959f536 (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.py | 2 |
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 |