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

61 lines
1.7 KiB
Meson
Raw Normal View History

2019-10-22 01:53:08 +02:00
project(
'jujube',
'cpp',
2020-01-26 17:55:20 +01:00
default_options : ['cpp_std=c++20'],
2019-10-22 01:53:08 +02:00
version : '0.1.0-alpha',
)
sfml = []
foreach module : ['system', 'window', 'graphics', 'audio']
sfml += [dependency('sfml-'+module, version : '>=2.5.1')]
endforeach
2020-01-27 01:52:49 +01:00
add_project_link_arguments(['-lstdc++', '-lstdc++fs', '-lm'], language : 'cpp')
2019-10-23 23:39:10 +02:00
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',
2020-01-26 17:55:20 +01:00
'src/Screens/MusicSelect/ButtonHighlight.hpp',
'src/Screens/MusicSelect/ButtonHighlight.cpp',
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',
2020-01-27 01:52:49 +01:00
'src/Toolkit/AffineTransform.hpp',
'src/Toolkit/EasingFunctions.hpp',
'src/Toolkit/EasingFunctions.cpp',
2020-01-26 17:55:20 +01:00
'src/Toolkit/QuickRNG.hpp',
'src/Toolkit/QuickRNG.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],
2019-11-03 02:14:47 +01:00
include_directories : include_directories('include'),
cpp_args : [
'-Wall',
'-Wextra',
'-Wshadow',
'-Wnon-virtual-dtor',
'-pedantic'
]
2019-11-03 03:01:29 +01:00
)
install_subdir('assets', install_dir : 'assets', strip_directory : true)
install_subdir('songs', install_dir: 'songs', strip_directory : true)