Variables | |
int | buffer_size = 1024 |
tuple | config_file = open("%s/configure.ac" % input_dir, 'r') |
string | file_data |
tuple | fix_version = version_values.group(3) |
list | input_dir = sys.argv[1] |
tuple | major_version = version_values.group(1) |
tuple | minor_version = version_values.group(2) |
tuple | opening_string = config_file.read(buffer_size) |
list | output_dir = sys.argv[2] |
tuple | version_expression |
tuple | version_file = open("%s/Version.h" % output_dir, 'w') |
tuple | version_values = version_expression.search(opening_string) |
int versiongenerate::buffer_size = 1024 |
Definition at line 65 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
tuple versiongenerate::config_file = open("%s/configure.ac" % input_dir, 'r') |
Definition at line 64 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
string versiongenerate::file_data |
00001 """// 00002 // DO NOT MODIFY THIS FILE (but you can delete it) 00003 // 00004 // This file is autogenerated by the versiongenerate.py script. This script 00005 // is executed in a "Run Script" build phase when creating gtest.framework. This 00006 // header file is not used during compilation of C-source. Rather, it simply 00007 // defines some version strings for substitution in the Info.plist. Because of 00008 // this, we are not not restricted to C-syntax nor are we using include guards. 00009 // 00010 00011 #define GTEST_VERSIONINFO_SHORT %s.%s 00012 #define GTEST_VERSIONINFO_LONG %s.%s.%s 00013 00014 """
Definition at line 84 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
tuple versiongenerate::fix_version = version_values.group(3) |
Definition at line 80 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
list versiongenerate::input_dir = sys.argv[1] |
Definition at line 60 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
tuple versiongenerate::major_version = version_values.group(1) |
Definition at line 78 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
tuple versiongenerate::minor_version = version_values.group(2) |
Definition at line 79 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
Definition at line 66 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
list versiongenerate::output_dir = sys.argv[2] |
Definition at line 61 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
00001 re.compile(r"AC_INIT\(.*?\[(\d+)\.(\d+)\.(\d+)\].*?\)", 00002 re.DOTALL)
Definition at line 75 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
tuple versiongenerate::version_file = open("%s/Version.h" % output_dir, 'w') |
Definition at line 98 of file gmock/gtest/xcode/Scripts/versiongenerate.py.
Definition at line 77 of file gmock/gtest/xcode/Scripts/versiongenerate.py.