meson.build 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. project('pigine', 'cpp')
  2. sources = [
  3. 'Main.cpp',
  4. 'rendering/wrapper/GLFW.cpp',
  5. 'gaming-core/utils/Size.cpp',
  6. 'rendering/wrapper/Window.cpp',
  7. 'gaming-core/utils/Clock.cpp',
  8. 'rendering/wrapper/Shader.cpp',
  9. 'rendering/wrapper/GLWrapper.cpp',
  10. 'Game.cpp',
  11. 'input/Controller.cpp',
  12. 'input/Button.cpp',
  13. 'rendering/Renderer.cpp',
  14. 'gaming-core/math/Matrix.cpp',
  15. 'gaming-core/math/Quaternion.cpp',
  16. 'gaming-core/math/Vector.cpp',
  17. 'gaming-core/images/PNGReader.cpp',
  18. 'rendering/wrapper/StreamBuffer.cpp',
  19. 'gaming-core/gl/Texture.cpp',
  20. 'rendering/wrapper/VertexBuffer.cpp',
  21. 'gaming-core/rendering/FileTexture.cpp',
  22. 'rendering/ColorRenderer.cpp',
  23. 'rendering/FontRenderer.cpp',
  24. 'rendering/Mesh.cpp',
  25. 'rendering/Options.cpp'
  26. ]
  27. glewDep = dependency('glew')
  28. glfwDep = dependency('glfw3')
  29. pngDep = dependency('libpng')
  30. executable('pigine',
  31. sources: sources,
  32. dependencies : [glewDep, glfwDep, pngDep],
  33. include_directories : include_directories('gaming-core'),
  34. cpp_args: ['-Wall', '-Wextra', '-pedantic', '-Werror'])