| 1234567891011121314151617181920212223242526272829303132333435363738 |
- project('iridium', 'c',
- version: '0.1.0',
- meson_version: '>= 0.40.0',
- )
- cc = meson.get_compiler('c')
- i18n = import('i18n')
- config_h = configuration_data()
- config_h.set_quoted('GETTEXT_PACKAGE', 'iridium')
- config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
- config_h.set('HAVE_LINUX_RANDOM_H', cc.has_header('linux/random.h'))
- salt = get_option('predefined_salt')
- if salt != ''
- config_h.set('HAVE_PREDEFINED_SALT', true)
- config_h.set_quoted('PREDEFINED_SALT', salt)
- endif
- configure_file(
- output: 'iridium-config.h',
- configuration: config_h,
- )
- add_project_arguments([
- '-I' + meson.build_root(),
- ], language: 'c')
- gnome = import('gnome')
- subdir('data')
- subdir('src')
- subdir('po')
- subdir('test')
- meson.add_install_script('build-aux/meson/postinstall.py')
|