2019-03-23 20:06:19 -05:00
# 23 march 2019
libui_sources + = [
'unix/alloc.c' ,
'unix/area.c' ,
'unix/attrstr.c' ,
'unix/box.c' ,
'unix/button.c' ,
'unix/cellrendererbutton.c' ,
'unix/checkbox.c' ,
'unix/child.c' ,
'unix/colorbutton.c' ,
'unix/combobox.c' ,
'unix/control.c' ,
'unix/datetimepicker.c' ,
'unix/debug.c' ,
'unix/draw.c' ,
'unix/drawmatrix.c' ,
'unix/drawpath.c' ,
'unix/drawtext.c' ,
'unix/editablecombo.c' ,
'unix/entry.c' ,
'unix/fontbutton.c' ,
'unix/fontmatch.c' ,
'unix/form.c' ,
'unix/future.c' ,
'unix/graphemes.c' ,
'unix/grid.c' ,
'unix/group.c' ,
'unix/image.c' ,
'unix/label.c' ,
'unix/main.c' ,
'unix/menu.c' ,
'unix/multilineentry.c' ,
'unix/opentype.c' ,
'unix/progressbar.c' ,
'unix/radiobuttons.c' ,
'unix/separator.c' ,
'unix/slider.c' ,
'unix/spinbox.c' ,
'unix/stddialogs.c' ,
'unix/tab.c' ,
'unix/table.c' ,
'unix/tablemodel.c' ,
'unix/text.c' ,
'unix/util.c' ,
'unix/window.c' ,
]
libui_deps + = [
dependency ( 'gtk+-3.0' ,
version : '>=3.10.0' ,
method : 'pkg-config' ,
required : true ) ,
2019-03-29 08:35:38 -05:00
# We specify these as not required because some Unix systems include them with libc instead of providing them as separate files (thanks textshell and jpakkane in freenode #mesonbuild)
2019-03-23 20:06:19 -05:00
meson . get_compiler ( 'c' ) . find_library ( 'm' ,
2019-03-29 08:35:38 -05:00
required : false ) ,
2019-03-23 20:06:19 -05:00
meson . get_compiler ( 'c' ) . find_library ( 'dl' ,
2019-03-29 08:35:38 -05:00
required : false ) ,
2019-03-23 20:06:19 -05:00
]
libui_soversion = '0'
libui_rpath = '$ORIGIN'