Namespaces | Variables
find_librs_version.py File Reference

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')
 


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:25