123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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',
- 'gl/Texture.cpp']
- glewDep = dependency('glew')
- glfwDep = dependency('glfw3')
- pngDep = dependency('libpng')
- executable('tests',
- sources: sources,
- dependencies : [glewDep, glfwDep, pngDep],
- cpp_args: ['-Wall', '-Wextra', '-pedantic', '-Werror'])
|