2016-06-03 20:14:55 -05:00
|
|
|
# 3 june 2016
|
|
|
|
|
|
|
|
find_package(PkgConfig REQUIRED)
|
|
|
|
pkg_check_modules(GTK REQUIRED gtk+-3.0)
|
|
|
|
|
|
|
|
list(APPEND _LIBUI_SOURCES
|
|
|
|
unix/alloc.c
|
|
|
|
unix/area.c
|
2017-02-20 16:11:52 -06:00
|
|
|
unix/attrstr.c
|
2016-06-03 20:14:55 -05:00
|
|
|
unix/box.c
|
|
|
|
unix/button.c
|
2016-06-28 11:00:35 -05:00
|
|
|
unix/cellrendererbutton.c
|
2016-06-03 20:14:55 -05:00
|
|
|
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
|
2017-02-11 13:45:58 -06:00
|
|
|
unix/fontbutton.c
|
2018-03-11 18:32:08 -05:00
|
|
|
unix/fontmatch.c
|
2016-06-08 17:19:41 -05:00
|
|
|
unix/form.c
|
2016-06-29 14:33:30 -05:00
|
|
|
unix/future.c
|
2016-06-03 20:14:55 -05:00
|
|
|
unix/graphemes.c
|
2016-06-09 17:57:58 -05:00
|
|
|
unix/grid.c
|
2016-06-03 20:14:55 -05:00
|
|
|
unix/group.c
|
2016-06-27 10:38:11 -05:00
|
|
|
unix/image.c
|
2016-06-03 20:14:55 -05:00
|
|
|
unix/label.c
|
|
|
|
unix/main.c
|
|
|
|
unix/menu.c
|
|
|
|
unix/multilineentry.c
|
2017-05-17 21:56:55 -05:00
|
|
|
unix/opentype.c
|
2016-06-03 20:14:55 -05:00
|
|
|
unix/progressbar.c
|
|
|
|
unix/radiobuttons.c
|
|
|
|
unix/separator.c
|
|
|
|
unix/slider.c
|
|
|
|
unix/spinbox.c
|
|
|
|
unix/stddialogs.c
|
|
|
|
unix/tab.c
|
|
|
|
unix/text.c
|
|
|
|
unix/util.c
|
|
|
|
unix/window.c
|
|
|
|
)
|
|
|
|
set(_LIBUI_SOURCES ${_LIBUI_SOURCES} PARENT_SCOPE)
|
|
|
|
|
|
|
|
list(APPEND _LIBUI_INCLUDEDIRS
|
|
|
|
unix
|
|
|
|
)
|
|
|
|
set(_LIBUI_INCLUDEDIRS _LIBUI_INCLUDEDIRS PARENT_SCOPE)
|
|
|
|
|
|
|
|
# TODO the other variables don't work?
|
|
|
|
set(_LIBUI_CFLAGS
|
|
|
|
${GTK_CFLAGS}
|
|
|
|
PARENT_SCOPE)
|
|
|
|
|
|
|
|
set(_LIBUI_LIBS
|
2016-08-10 19:37:42 -05:00
|
|
|
${GTK_LDFLAGS} m ${CMAKE_DL_LIBS}
|
2016-06-03 20:14:55 -05:00
|
|
|
PARENT_SCOPE)
|