meson.build 916 B

12345678910111213141516171819202122232425262728293031323334
  1. project('gaming core tests', 'cpp')
  2. sources = ['Main.cpp',
  3. 'tests/Test.cpp',
  4. 'tests/ArrayTests.cpp',
  5. 'tests/HashMapTests.cpp',
  6. 'tests/ListTests.cpp',
  7. 'tests/BitArrayTests.cpp',
  8. 'tests/StringBufferTests.cpp',
  9. 'tests/RandomTests.cpp',
  10. 'utils/Random.cpp',
  11. 'tests/RingBufferTests.cpp',
  12. 'tests/SplitStringTests.cpp',
  13. 'tests/VectorTests.cpp',
  14. 'math/Vector.cpp',
  15. 'math/Matrix.cpp',
  16. 'tests/MatrixTests.cpp',
  17. 'tests/StackTests.cpp',
  18. 'tests/MatrixStackTests.cpp',
  19. 'tests/PlaneTests.cpp',
  20. 'math/Plane.cpp',
  21. 'tests/FrustumTests.cpp',
  22. 'math/Frustum.cpp',
  23. 'utils/Size.cpp',
  24. 'tests/QuaternionTests.cpp',
  25. 'math/Quaternion.cpp',
  26. 'tests/UtilsTests.cpp',
  27. 'tests/ColorTests.cpp',
  28. 'utils/Clock.cpp',
  29. 'tests/ClockTests.cpp']
  30. executable('tests',
  31. sources: sources,
  32. cpp_args: ['-Wall', '-Wextra', '-pedantic', '-Werror'])