premake/projects/SDL2main.lua
author Ryan C. Gordon
Sun, 03 Jan 2016 20:52:44 -0500
changeset 10004 8f2f519d1e61
parent 9998 f67cf37e9cd4
permissions -rwxr-xr-x
CMake: Don't make a libSDL2.so symlink on Mac OS X (do .dylib instead).
     1 -- Copyright (C) 1997-2016 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/" }