2017-08-24 13:21:41 +00:00
|
|
|
assembly_name = 'cairo-sharp'
|
|
|
|
|
|
|
|
raw_api_fname = join_paths(meson.current_source_dir(), 'cairo-api.raw')
|
|
|
|
metadata_fname = join_paths(meson.current_source_dir(), 'cairo.metadata')
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
'Antialias.cs',
|
|
|
|
'Cairo.cs',
|
|
|
|
'CairoDebug.cs',
|
|
|
|
'Color.cs',
|
|
|
|
'Content.cs',
|
|
|
|
'Context.cs',
|
|
|
|
'Device.cs',
|
|
|
|
'DirectFBSurface.cs',
|
|
|
|
'Distance.cs',
|
|
|
|
'Extend.cs',
|
|
|
|
'FillRule.cs',
|
|
|
|
'Filter.cs',
|
|
|
|
'FontExtents.cs',
|
|
|
|
'FontFace.cs',
|
|
|
|
'FontOptions.cs',
|
|
|
|
'FontSlant.cs',
|
|
|
|
'FontType.cs',
|
|
|
|
'FontWeight.cs',
|
|
|
|
'Format.cs',
|
|
|
|
'GlitzSurface.cs',
|
|
|
|
'Glyph.cs',
|
|
|
|
'Gradient.cs',
|
|
|
|
'HintMetrics.cs',
|
|
|
|
'HintStyle.cs',
|
|
|
|
'ImageSurface.cs',
|
|
|
|
'LinearGradient.cs',
|
|
|
|
'LineCap.cs',
|
|
|
|
'LineJoin.cs',
|
|
|
|
'Matrix.cs',
|
|
|
|
'NativeMethods.cs',
|
|
|
|
'Operator.cs',
|
|
|
|
'Path.cs',
|
|
|
|
'Pattern.cs',
|
|
|
|
'PatternType.cs',
|
|
|
|
'PdfSurface.cs',
|
|
|
|
'Point.cs',
|
|
|
|
'PointD.cs',
|
|
|
|
'PSSurface.cs',
|
|
|
|
'RadialGradient.cs',
|
|
|
|
'Rectangle.cs',
|
|
|
|
'Region.cs',
|
|
|
|
'ScaledFont.cs',
|
|
|
|
'SolidPattern.cs',
|
|
|
|
'Status.cs',
|
|
|
|
'SubpixelOrder.cs',
|
|
|
|
'Surface.cs',
|
|
|
|
'SurfacePattern.cs',
|
|
|
|
'SurfaceType.cs',
|
|
|
|
'SvgSurface.cs',
|
|
|
|
'SvgVersion.cs',
|
|
|
|
'TextExtents.cs',
|
|
|
|
'Win32Surface.cs',
|
|
|
|
'XcbSurface.cs',
|
|
|
|
'XlibSurface.cs',
|
|
|
|
]
|
|
|
|
|
2017-09-20 15:15:34 +00:00
|
|
|
cairo_sharp = library(assembly_name, sources, assemblyinfo,
|
2017-08-31 11:42:08 +00:00
|
|
|
install: install,
|
2017-08-24 19:49:02 +00:00
|
|
|
install_dir: lib_install_dir
|
2017-08-24 13:21:41 +00:00
|
|
|
)
|
|
|
|
|
2017-09-01 21:27:16 +00:00
|
|
|
nuget_infos += [['CairoSharp', cairo_sharp, []]]
|
2017-08-24 13:21:41 +00:00
|
|
|
install_infos += [assembly_name, cairo_sharp.full_path()]
|
|
|
|
cairo_api_includes = join_paths(meson.current_source_dir(), 'cairo-api.xml')
|
2017-08-31 11:42:08 +00:00
|
|
|
|
|
|
|
if install
|
|
|
|
install_data(cairo_api_includes, install_dir: gapi_xml_installdir)
|
|
|
|
endif
|
2017-08-25 13:11:37 +00:00
|
|
|
|
|
|
|
cairo_sharp_dep = declare_dependency(link_with: cairo_sharp)
|