meson.build 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #********************************************************************+
  2. # Copyright 2016-2019 Daniel 'grindhold' Brendle
  3. #
  4. # This file is part of libgtkflow.
  5. #
  6. # libgtkflow is free software: you can redistribute it and/or
  7. # modify it under the terms of the GNU Lesser General Public License
  8. # as published by the Free Software Foundation, either
  9. # version 3 of the License, or (at your option) any later
  10. # version.
  11. #
  12. # libgtkflow is distributed in the hope that it will be
  13. # useful, but WITHOUT ANY WARRANTY; without even the implied
  14. # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. # PURPOSE. See the GNU Lesser General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Lesser General Public
  18. # License along with libgtkflow.
  19. # If not, see http://www.gnu.org/licenses/.
  20. #*********************************************************************
  21. project ('gtkflow', 'vala', 'c', meson_version: '>=0.46.1')
  22. # If you can verify that this project also builds with a lower
  23. # meson version, feel free to change the meson_version kwarg
  24. api = '0.4'
  25. pkgconfig = import('pkgconfig')
  26. glib = dependency('glib-2.0')
  27. gobject = dependency('gobject-2.0')
  28. gtk = dependency('gtk+-3.0', version: '>=3.20.0')
  29. math = meson.get_compiler('c').find_library('m', required: true)
  30. g_ir_compiler = find_program('g-ir-compiler')
  31. subdir('libgflow')
  32. subdir('libgtkflow')
  33. subdir('test')