* Enable compile and link flags to build info also on Windows and in SCons.
[blender-staging.git] / source / blender / python / intern / bpy_app.c
index 39494678a125fbdf753acfc054adbb422fe7d105..b7a277c76b0af62b48ee27b04ecec9a7c7eec8ed 100644 (file)
@@ -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