testnative.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. -- Copyright (C) 1997-2016 Sam Lantinga <[email protected]>
  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 <[email protected]>
  13. --[[
  14. testnative.lua
  15. This file defines the testnative test project. It depends on the SDL2main
  16. and SDL2 projects. It will not build on iOS or Cygwin. This project has
  17. specialized dependencies separate to Windows/MinGW, Mac OS X, and Linux.
  18. ]]
  19. SDL_project "testnative"
  20. SDL_kind "ConsoleApp"
  21. SDL_notos "ios|cygwin"
  22. SDL_language "C"
  23. SDL_sourcedir "../test"
  24. SDL_projectLocation "tests"
  25. SDL_projectDependencies { "SDL2main", "SDL2" }
  26. SDL_files { "/testnative.*" }
  27. SDL_copy { "icon.bmp" }
  28. SDL_dependency "windows"
  29. SDL_os "windows|mingw"
  30. SDL_files { "/testnativew32.*" }
  31. SDL_dependency "macosx"
  32. SDL_os "macosx"
  33. SDL_files { "/testnativecocoa.*" }
  34. SDL_dependency "linux"
  35. SDL_os "linux"
  36. SDL_depfunc "X11"
  37. SDL_files { "/testnativex11.*" }