-
Notifications
You must be signed in to change notification settings - Fork 325
/
meson.build
14 lines (10 loc) · 735 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
project('2048', 'cpp',
default_options : ['cpp_std=c++14', 'warning_level=2'])
main_target_name = '2048'
sources = ['src/2048.cpp', 'src/gameboard.cpp', 'src/gameboard-graphics.cpp', 'src/game.cpp', 'src/game-input.cpp', 'src/game-graphics.cpp', 'src/game-pregamemenu.cpp', 'src/global.cpp', 'src/loadresource.cpp', 'src/menu.cpp', 'src/menu-graphics.cpp', 'src/saveresource.cpp', 'src/scores.cpp', 'src/scores-graphics.cpp', 'src/statistics.cpp', 'src/statistics-graphics.cpp', 'src/tile.cpp', 'src/tile-graphics.cpp']
hdrs = include_directories('src/headers')
executable(main_target_name, sources,
include_directories : hdrs,
install : true)
install_data(['data/scores.txt', 'data/statistics.txt'],
install_dir : 'data')