meson.build 858 B

123456789101112131415
  1. project('pigine', 'cpp')
  2. sources = ['Main.cpp', 'rendering/wrapper/GLFWWrapper.cpp', 'rendering/WindowSize.cpp', 'rendering/wrapper/Window.cpp', 'utils/Clock.cpp', 'rendering/wrapper/Shader.cpp', 'rendering/wrapper/GLWrapper.cpp', 'Game.cpp', 'input/Controller.cpp', 'rendering/Renderer.cpp', 'math/Vector.cpp', 'math/Matrix.cpp', 'math/MatrixStack.cpp', 'utils/PNGReader.cpp', 'utils/Utils.cpp', 'rendering/wrapper/StreamBuffer.cpp', 'rendering/wrapper/Texture.cpp', 'rendering/wrapper/VertexBuffer.cpp', 'rendering/FileTexture.cpp', 'rendering/FontRenderer.cpp', 'rendering/Mesh.cpp', 'utils/String.cpp']
  3. glewDep = dependency('glew')
  4. glfwDep = dependency('glfw3')
  5. pngDep = dependency('libpng')
  6. executable('pigine',
  7. sources: sources,
  8. dependencies : [glewDep, glfwDep, pngDep],
  9. cpp_args: ['-Wall', '-Wextra', '-pedantic', '-Werror'])