meson.build 865 B

1234567891011121314151617181920212223242526272829303132
  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. executable('tests',
  29. sources: sources,
  30. cpp_args: ['-Wall', '-Wextra', '-pedantic', '-Werror'])