mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 08:22:16 +01:00 
			
		
		
		
	This is copied from the GTK source tree to put into our builds so that we can generate a manifest file to pacify UAC on Windows for 32-bit builds, as UAC will kill any 32-bit processes that it believes will be an installer or will alter the system in any ways. This will be used to fix running the custom-dispatch test program on 32-bit Windows builds.
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Meson
		
	
	
	
	
	
| # Install glib-gettextize executable, if a UNIX-style shell is found
 | |
| if have_sh
 | |
|   # These should not contain " quotes around the values
 | |
|   gettextize_conf = configuration_data()
 | |
|   gettextize_conf.set('PACKAGE', 'glib')
 | |
|   gettextize_conf.set('VERSION', meson.project_version())
 | |
|   gettextize_conf.set('prefix', glib_prefix)
 | |
|   gettextize_conf.set('datarootdir', glib_datadir)
 | |
|   gettextize_conf.set('datadir', glib_datadir)
 | |
|   configure_file(input : 'glib-gettextize.in',
 | |
|     install_dir : glib_bindir,
 | |
|     install_tag : 'bin-devel',
 | |
|     output : 'glib-gettextize',
 | |
|     configuration : gettextize_conf)
 | |
| endif
 | |
| 
 | |
| if host_system != 'windows'
 | |
|   # Install Valgrind suppression file (except on Windows,
 | |
|   # as Valgrind is currently not supported on Windows)
 | |
|   install_data(fs.name(valgrind_suppression_file),
 | |
|     install_dir : get_option('datadir') / valgrind_suppression_file_install_subdir,
 | |
|     install_tag : 'devel',
 | |
|   )
 | |
| endif
 | |
| 
 | |
| gen_visibility_macros = find_program('gen-visibility-macros.py')
 | |
| 
 | |
| # This is only needed for 32-bit (x86) Windows builds
 | |
| if host_system == 'windows' and host_machine.cpu_family() == 'x86'
 | |
|   embed_uac_manifest = true
 | |
|   gen_uac_manifest = find_program('generate-uac-manifest.py')
 | |
| else
 | |
|   embed_uac_manifest = false
 | |
| endif
 |