premake/projects/SDL2main.lua
author Ryan C. Gordon
Sun, 10 Nov 2013 00:38:37 -0500
changeset 7925 f090a47eb7f7
child 8149 681eb46b8ac4
permissions -rwxr-xr-x
Added Ben Henning's GSoC2013 work: premake build system.
     1 -- Copyright (C) 1997-2011 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 --[[
    15 SDL2main.lua
    16 
    17 	This file defines the SDL2main project which builds the SDL2main static
    18 	library for Windows and Mac. This project is primarily for everything but
    19 	Linux.
    20 ]]
    21 
    22 SDL_project "SDL2main"
    23 	SDL_kind "StaticLib"
    24 	SDL_language "C"
    25 	SDL_sourcedir "../src"
    26 	SDL_dependency "windows"
    27 		SDL_os "windows|mingw"
    28 		SDL_paths { "/main/windows/" }
    29 	SDL_dependency "macosx or ios"
    30 		SDL_os "macosx|ios|cygwin"
    31 		SDL_paths { "/main/dummy/" }