1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- 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',
- 'tests/TypedBufferTests.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'])
|