testgl2.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. -- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
  2. --
  3. -- This software is provided 'as-is', without any express or implied
  4. -- warranty. In no event will the authors be held liable for any damages
  5. -- arising from the use of this software.
  6. --
  7. -- Permission is granted to anyone to use this software for any purpose,
  8. -- including commercial applications, and to alter it and redistribute it
  9. -- freely.
  10. --
  11. -- Meta-build system using premake created and maintained by
  12. -- Benjamin Henning <b.henning@digipen.edu>
  13. --[[
  14. testgl2.lua
  15. This file defines the testgl2 test project. It depends on the SDL2main,
  16. SDL2test, and SDL2 projects. It will not build on iOS or Cygwin. This project
  17. has a dependency on OpenGL and will specially supply a preprocessor definition
  18. for indicating OpenGL support.
  19. ]]
  20. SDL_project "testgl2"
  21. SDL_kind "ConsoleApp"
  22. SDL_notos "ios|cygwin"
  23. SDL_language "C"
  24. SDL_sourcedir "../test"
  25. SDL_projectLocation "tests"
  26. SDL_projectDependencies { "SDL2main", "SDL2test", "SDL2" }
  27. SDL_defines { "HAVE_OPENGL" }
  28. SDL_dependency "OpenGL"
  29. -- opengl is platform independent
  30. SDL_depfunc "OpenGL"
  31. SDL_files { "/testgl2.*" }