project('neko-player', ['c', 'cpp'], version : '0.1', default_options : ['warning_level=3', 'cpp_std=c++20']) if get_option('debug') add_global_arguments('-DDEBUG', language: 'cpp') endif deps = [ dependency('raylib'), dependency('sdl2'), dependency('sdl2_image'), dependency('gl'), dependency('jsoncpp'), ] srcs = [ 'main.cpp', 'playback.cpp', 'imgui/imgui.cpp', 'imgui/imgui_widgets.cpp', 'imgui/imgui_tables.cpp', 'imgui/imgui_draw.cpp', 'imgui/imgui_demo.cpp', 'imgui/backends/imgui_impl_sdl2.cpp', 'imgui/backends/imgui_impl_opengl3.cpp', ] include_dirs = [ 'imgui', 'imgui/backends', 'imgui-filebrowser', 'IconFontCppHeaders', 'assets', ] res = run_command('./assets/update-assets.sh', check: true) exe = executable('player', srcs, dependencies: deps, include_directories: include_dirs, install : true)