Skip to content
Snippets Groups Projects
meson.build 495 B
Newer Older
Bruce Cowan's avatar
Bruce Cowan committed
gnome = import('gnome')

Bruce Cowan's avatar
Bruce Cowan committed
sources = files(
    'rugby.c',
    'rugby-application.c',
    'rugby-cell-renderer-score.c',
    'rugby-score-store.c',
    'rugby-scoring.c'
)
Bruce Cowan's avatar
Bruce Cowan committed

Bruce Cowan's avatar
Bruce Cowan committed
sources += gnome.compile_resources('gen-resources',
                                   '../data/rugby.gresource.xml',
                                   source_dir: '../data')
Bruce Cowan's avatar
Bruce Cowan committed

Bruce Cowan's avatar
Bruce Cowan committed
gtk = dependency('gtk+-3.0', version : '>= 3.16')
Bruce Cowan's avatar
Bruce Cowan committed

Bruce Cowan's avatar
Bruce Cowan committed
executable('rugby',
           sources,
           dependencies: gtk,
           install: true)