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 750B

12345678910111213141516171819202122232425262728
  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. libglfw3 = dependency('glfw3')
  6. libgl = dependency('OpenGL')
  7. #libgl = meson.get_compiler('cpp').find_library('GLESv2')
  8. libsdl2_image = dependency('SDL2_image')
  9. libthreads = dependency('threads')
  10. subdir('third-party')
  11. common = declare_dependency(
  12. include_directories: 'include',
  13. dependencies: libmsgpack)
  14. subdir('libcygnet')
  15. subdir('libswan')
  16. subdir('core.mod')
  17. executable('swan', 'src/main.cc',
  18. install: true,
  19. install_rpath: get_option('libdir'),
  20. dependencies: [libswan, libcygnet, common, libimgui, libsdl2_image, libgl, libglfw3])
  21. install_subdir('assets', install_dir: '')