setup Meson project, get the server to read a video feed from a local camera
This commit is contained in:
		
							
								
								
									
										13
									
								
								meson.build
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								meson.build
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| project('video-streaming-poc', 'cpp') | ||||
| add_project_arguments('-Wall', '-Wextra', language : 'cpp') | ||||
|  | ||||
| opencv = dependency('opencv4', version : '>=4.0.0') | ||||
| opencv_incl_dir = opencv.get_variable(cmake : 'OpenCV_INCLUDE_DIRECTORIES', pkgconfig : 'includedir') | ||||
| include = include_directories(opencv_incl_dir) | ||||
|  | ||||
| common = [] | ||||
| client = common + ['client.cpp'] | ||||
| server = common + ['server.cpp'] | ||||
|  | ||||
| client_exe = executable('client', client, dependencies : opencv, include_directories : include) | ||||
| server_exe = executable('server', server, dependencies : opencv, include_directories : include) | ||||
		Reference in New Issue
	
	Block a user