SDL2main.lua 992 B

12345678910111213141516171819202122232425262728293031
  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. SDL2main.lua
  15. This file defines the SDL2main project which builds the SDL2main static
  16. library for Windows and Mac. This project is primarily for everything but
  17. Linux.
  18. ]]
  19. SDL_project "SDL2main"
  20. SDL_kind "StaticLib"
  21. SDL_language "C"
  22. SDL_sourcedir "../src"
  23. SDL_dependency "windows"
  24. SDL_os "windows|mingw"
  25. SDL_paths { "/main/windows/" }
  26. SDL_dependency "macosx or ios"
  27. SDL_os "macosx|ios|cygwin"
  28. SDL_paths { "/main/dummy/" }