Variables
find_librs_version Namespace Reference

Variables

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

Variable Documentation

find_librs_version.file_content = f.read()

Definition at line 17 of file find_librs_version.py.

find_librs_version.librealsense_dir = sys.argv[1]

Definition at line 11 of file find_librs_version.py.

string find_librs_version.librs_version = ''

Definition at line 6 of file find_librs_version.py.

find_librs_version.major = re.search(r"#define\s*RS2_API_MAJOR_VERSION\s*(\d+)",file_content)

Definition at line 18 of file find_librs_version.py.

find_librs_version.minor = re.search(r"#define\s*RS2_API_MINOR_VERSION\s*(\d+)",file_content)

Definition at line 23 of file find_librs_version.py.

find_librs_version.outfile = os.path.join(output_dir, '_version.py')

Definition at line 34 of file find_librs_version.py.

find_librs_version.output_dir = sys.argv[2]

Definition at line 12 of file find_librs_version.py.

find_librs_version.patch = re.search(r"#define\s*RS2_API_PATCH_VERSION\s*(\d+)",file_content)

Definition at line 28 of file find_librs_version.py.

find_librs_version.rs_h_path = os.path.join(librealsense_dir, 'include/librealsense2/rs.h')

Definition at line 14 of file find_librs_version.py.



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