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-10-29 18:42:21 +01:00
|
|
|
'src/Data/Note.hpp',
|
|
|
|
'src/Data/Note.cpp',
|
|
|
|
'srx/Data/Score.hpp',
|
|
|
|
'src/Data/SongList.hpp',
|
|
|
|
'src/Data/SongList.cpp',
|
2019-10-23 23:39:10 +02:00
|
|
|
'src/Screens/Gameplay.hpp',
|
|
|
|
'src/Screens/MusicSelect.hpp',
|
|
|
|
'src/Screens/Result.hpp',
|
|
|
|
]
|
|
|
|
|
2019-10-22 01:53:08 +02:00
|
|
|
executable(
|
|
|
|
'jujube',
|
2019-10-29 18:42:21 +01:00
|
|
|
'src/Test.cpp',
|
|
|
|
'src/Textures/CoverPack.hpp',
|
|
|
|
'src/Textures/CoverPack.cpp',
|
2019-10-23 23:39:10 +02:00
|
|
|
dependencies: [sfml, filesystem]
|
2019-10-22 01:53:08 +02:00
|
|
|
)
|