A 2D tile-based sandbox game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

meson.build 711B

12345678910111213141516171819202122232425
  1. project('swan', 'cpp',
  2. default_options: ['cpp_std=c++2a'])
  3. libdl = meson.get_compiler('cpp').find_library('dl')
  4. libz = meson.get_compiler('cpp').find_library('z')
  5. libgles2 = meson.get_compiler('cpp').find_library('GLESv2')
  6. libsdl2 = dependency('sdl2')
  7. libsdl2_image = dependency('SDL2_image')
  8. libthreads = dependency('threads')
  9. subdir('third-party')
  10. common = declare_dependency(
  11. include_directories: 'include',
  12. dependencies: libmsgpack)
  13. subdir('libcygnet')
  14. subdir('libswan')
  15. subdir('core.mod')
  16. executable('swan', 'src/main.cc',
  17. install: true,
  18. install_rpath: get_option('libdir'),
  19. dependencies: [libswan, libcygnet, common, libimgui, libsdl2, libsdl2_image])
  20. install_subdir('assets', install_dir: '')