mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	This appends it to every compilation command so we can get rid of the c_args for (almost all) executables.
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Meson
		
	
	
	
	
	
if sdl_dep.found()
 | 
						|
  executable('local-v4l2', 'local-v4l2.c',
 | 
						|
             include_directories : [configinc, spa_inc],
 | 
						|
             dependencies : [dl_lib, sdl_dep, pthread_lib],
 | 
						|
             install : installed_tests_enabled,
 | 
						|
             install_dir : installed_tests_execdir / 'examples' / 'spa')
 | 
						|
 | 
						|
  if libcamera_dep.found()
 | 
						|
    executable('local-libcamera', 'local-libcamera.c',
 | 
						|
               include_directories : [configinc, spa_inc],
 | 
						|
               dependencies : [dl_lib, sdl_dep, pthread_lib, libcamera_dep],
 | 
						|
               install : installed_tests_enabled,
 | 
						|
               install_dir : installed_tests_execdir / 'examples' / 'spa')
 | 
						|
  endif
 | 
						|
endif
 | 
						|
 | 
						|
executable('example-control', 'example-control.c',
 | 
						|
             include_directories : [configinc, spa_inc],
 | 
						|
             dependencies : [dl_lib, pthread_lib, mathlib],
 | 
						|
             install : installed_tests_enabled,
 | 
						|
             install_dir : installed_tests_execdir / 'examples' / 'spa')
 | 
						|
 | 
						|
executable('adapter-control', 'adapter-control.c',
 | 
						|
             include_directories : [configinc, spa_inc],
 | 
						|
             dependencies : [dl_lib, pthread_lib, mathlib],
 | 
						|
             install : installed_tests_enabled,
 | 
						|
             install_dir : installed_tests_execdir / 'examples' / 'spa')
 |