12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- project('gaming core tests', 'cpp')
- sources = ['Main.cpp',
- 'tests/Test.cpp',
- 'tests/ArrayTests.cpp',
- 'tests/HashMapTests.cpp',
- 'tests/ListTests.cpp',
- 'tests/BitArrayTests.cpp',
- 'tests/StringBufferTests.cpp',
- 'tests/RandomTests.cpp',
- 'utils/Random.cpp',
- 'tests/RingBufferTests.cpp',
- 'tests/SplitStringTests.cpp',
- 'tests/VectorTests.cpp',
- 'math/Vector.cpp',
- 'math/Matrix.cpp',
- 'tests/MatrixTests.cpp',
- 'tests/StackTests.cpp',
- 'tests/MatrixStackTests.cpp',
- 'tests/PlaneTests.cpp',
- 'math/Plane.cpp',
- 'tests/FrustumTests.cpp',
- 'math/Frustum.cpp',
- 'utils/Size.cpp',
- 'tests/QuaternionTests.cpp',
- 'math/Quaternion.cpp',
- 'tests/UtilsTests.cpp',
- 'tests/ColorTests.cpp',
- 'utils/Clock.cpp',
- 'tests/ClockTests.cpp',
- 'images/PNGReader.cpp',
- 'tests/PNGReaderTests.cpp',
- 'tests/BufferTests.cpp',
- 'wrapper/Texture.cpp',
- 'wrapper/GL.cpp',
- 'wrapper/GLFW.cpp',
- 'wrapper/GLEW.cpp',
- 'wrapper/Shader.cpp',
- 'wrapper/VertexBuffer.cpp',
- 'wrapper/Attributes.cpp',
- 'wrapper/Window.cpp',
- 'wrapper/WindowOptions.cpp',
- 'input/Button.cpp',
- 'input/Buttons.cpp',
- 'wrapper/TextureFormat.cpp',
- 'rendering/FileTexture.cpp',
- 'memory/StackAllocator.cpp',
- 'tests/StackAllocatorTests.cpp',
- 'utils/Buffer.cpp']
- glewDep = dependency('glew')
- glfwDep = dependency('glfw3')
- pngDep = dependency('libpng')
- executable('tests',
- sources: sources,
- dependencies : [glewDep, glfwDep, pngDep],
- cpp_args: ['-Wall', '-Wextra', '-pedantic', '-Werror'])
|