Go to the source code of this file.
Namespaces | |
find_librs_version | |
Variables | |
find_librs_version.file_content = f.read() | |
find_librs_version.librealsense_dir = sys.argv[1] | |
string | find_librs_version.librs_version = '' |
find_librs_version.major = re.search(r"#define\s*RS2_API_MAJOR_VERSION\s*(\d+)",file_content) | |
find_librs_version.minor = re.search(r"#define\s*RS2_API_MINOR_VERSION\s*(\d+)",file_content) | |
find_librs_version.outfile = os.path.join(output_dir, '_version.py') | |
find_librs_version.output_dir = sys.argv[2] | |
find_librs_version.patch = re.search(r"#define\s*RS2_API_PATCH_VERSION\s*(\d+)",file_content) | |
find_librs_version.rs_h_path = os.path.join(librealsense_dir, 'include/librealsense2/rs.h') | |