32 lines
955 B
Meson
32 lines
955 B
Meson
project(
|
|
'extra', 'c',
|
|
version : '0.0.1',
|
|
default_options: [ 'c_std=gnu99', 'warning_level=2' ],
|
|
meson_version : '>= 0.40.0')
|
|
|
|
add_global_arguments('-DHAVE_CONFIG_H=1', language: 'c')
|
|
|
|
config_h = configuration_data()
|
|
config_h.set_quoted('PACKAGE' , meson.project_name())
|
|
config_h.set_quoted('PACKAGE_VERSION' , meson.project_version())
|
|
config_h.set_quoted('PACKAGE_URL' , 'https://www.enlightenment.org')
|
|
config_h.set_quoted('PACKAGE_TARNAME' , meson.project_name())
|
|
config_h.set_quoted('PACKAGE_BUGREPORT', 'enlightenment-devel@lists.sourceforge.net')
|
|
config_h.set_quoted('PACKAGE_STRING' , meson.project_name() + ' ' + meson.project_version())
|
|
config_h.set_quoted('PACKAGE_NAME' , meson.project_name())
|
|
|
|
elm = dependency('elementary')
|
|
|
|
top_inc = include_directories('.')
|
|
|
|
subdir('po')
|
|
subdir('src')
|
|
subdir('doc')
|
|
subdir('data/desktop')
|
|
|
|
configure_file(
|
|
output : 'config.h',
|
|
install : false,
|
|
configuration: config_h
|
|
)
|