meson.build 414 B

123456789101112131415161718
  1. project('inverting game', 'c')
  2. sources = [
  3. 'Control.c',
  4. 'GameEngine.c',
  5. 'Main.c',
  6. 'Vector3D.c']
  7. glewDep = dependency('glew')
  8. glfwDep = dependency('glfw3')
  9. cc = meson.get_compiler('c')
  10. mathDep = cc.find_library('m', required : true)
  11. executable('inverting_game',
  12. sources: sources,
  13. dependencies : [glewDep, glfwDep, mathDep],
  14. cpp_args: ['-Wall', '-Wextra', '-pedantic', '-Werror'])