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:
authorNathan Letwory <nathan@letworyinteractive.com>2010-10-19 09:00:36 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-19 09:00:36 +0400
commit2a89fb887e6e9cc50a30ec67fb9cb3e8b06a59cd (patch)
treea3a35446f4b473bbe3d63df11945344f329d4803 /source/blender/python/intern/bpy_app.c
parent42d4e93733f563704456fed879b5f29b042d099f (diff)
* Enable compile and link flags to build info also on Windows and in SCons.
* Added build_system SCons or CMake * Write the new build info also to system-info.txt
Diffstat (limited to 'source/blender/python/intern/bpy_app.c')
-rw-r--r--source/blender/python/intern/bpy_app.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_app.c b/source/blender/python/intern/bpy_app.c
index 39494678a12..b7a277c76b0 100644
--- a/source/blender/python/intern/bpy_app.c
+++ b/source/blender/python/intern/bpy_app.c
@@ -42,6 +42,7 @@ extern char build_type[];
extern char build_cflags[];
extern char build_cxxflags[];
extern char build_linkflags[];
+extern char build_system[];
#endif
static PyTypeObject BlenderAppType;
@@ -61,6 +62,7 @@ static PyStructSequence_Field app_info_fields[] = {
{"build_cflags", ""},
{"build_cxxflags", ""},
{"build_linkflags", ""},
+ {"build_system", ""},
{0}
};
@@ -105,6 +107,7 @@ static PyObject *make_app_info(void)
SetStrItem(build_cflags);
SetStrItem(build_cxxflags);
SetStrItem(build_linkflags);
+ SetStrItem(build_system);
#else
SetStrItem("Unknown");
SetStrItem("Unknown");
@@ -114,6 +117,7 @@ static PyObject *make_app_info(void)
SetStrItem("Unknown");
SetStrItem("Unknown");
SetStrItem("Unknown");
+ SetStrItem("Unknown");
#endif
#undef SetIntItem