1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
sources = files( 'dirwatch.c', 'trashdir.c', 'trashitem.c', 'trashwatcher.c', 'trashexpunge.c', ) deps = [ gio_dep, gio_unix_dep, glib_dep, ] libtrash = static_library( 'trash', sources: sources, include_directories: top_inc, dependencies: deps, ) libtrash_dep = declare_dependency( include_directories: '.', dependencies: gio_dep, link_with: libtrash, )