1
0
mirror of synced 2024-11-12 01:40:47 +01:00
jujube/meson.build

52 lines
1.3 KiB
Meson
Raw Normal View History

2019-10-22 01:53:08 +02:00
project(
'jujube',
'cpp',
default_options : ['cpp_std=c++17'],
version : '0.1.0-alpha',
)
sfml = []
foreach module : ['system', 'window', 'graphics', 'audio']
sfml += [dependency('sfml-'+module, version : '>=2.5.1')]
endforeach
2019-10-23 23:39:10 +02:00
cpp = meson.get_compiler('cpp')
filesystem = cpp.find_library('stdc++fs')
sources = [
'src/Main.cpp',
2019-11-02 01:24:45 +01:00
'src/Data/Chart.hpp',
2019-11-03 00:55:54 +01:00
'src/Data/KeyMapping.hpp',
'src/Data/KeyMapping.cpp',
2019-10-29 18:42:21 +01:00
'src/Data/Note.hpp',
'src/Data/Note.cpp',
2019-11-03 00:55:54 +01:00
'src/Data/Score.hpp',
2019-10-29 18:42:21 +01:00
'src/Data/SongList.hpp',
'src/Data/SongList.cpp',
2019-11-03 00:55:54 +01:00
# 'src/Screens/Gameplay.hpp',
2019-11-02 01:24:45 +01:00
'src/Screens/MusicSelect/MusicSelect.hpp',
'src/Screens/MusicSelect/MusicSelect.cpp',
2019-11-03 00:55:54 +01:00
'src/Screens/MusicSelect/Panel.hpp',
'src/Screens/MusicSelect/Panel.cpp',
'src/Screens/MusicSelect/Resources.hpp',
'src/Screens/MusicSelect/Resources.cpp',
'src/Screens/MusicSelect/Ribbon.hpp',
'src/Screens/MusicSelect/Ribbon.cpp',
# 'src/Screens/Result.hpp',
2019-11-02 01:24:45 +01:00
'src/Resources/CoverAtlas.hpp',
'src/Resources/CoverAtlas.cpp',
2019-10-23 23:39:10 +02:00
]
2019-10-22 01:53:08 +02:00
executable(
'jujube',
2019-11-02 01:24:45 +01:00
sources,
dependencies: [sfml, filesystem],
2019-11-03 02:14:47 +01:00
include_directories : include_directories('include'),
cpp_args : [
'-Wall',
'-Wextra',
'-Wshadow',
'-Wnon-virtual-dtor',
'-pedantic'
]
2019-10-22 01:53:08 +02:00
)