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

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