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).
slouken@9998
     1
-- Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org>
icculus@7925
     2
--
icculus@7925
     3
-- This software is provided 'as-is', without any express or implied
icculus@7925
     4
-- warranty.  In no event will the authors be held liable for any damages
icculus@7925
     5
-- arising from the use of this software.
icculus@7925
     6
--
icculus@7925
     7
-- Permission is granted to anyone to use this software for any purpose,
icculus@7925
     8
-- including commercial applications, and to alter it and redistribute it
icculus@7925
     9
-- freely.
icculus@7925
    10
--
icculus@7925
    11
-- Meta-build system using premake created and maintained by
icculus@7925
    12
-- Benjamin Henning <b.henning@digipen.edu>
icculus@7925
    13
icculus@7925
    14
--[[
icculus@7925
    15
SDL2main.lua
icculus@7925
    16
icculus@7925
    17
	This file defines the SDL2main project which builds the SDL2main static
icculus@7925
    18
	library for Windows and Mac. This project is primarily for everything but
icculus@7925
    19
	Linux.
icculus@7925
    20
]]
icculus@7925
    21
icculus@7925
    22
SDL_project "SDL2main"
icculus@7925
    23
	SDL_kind "StaticLib"
icculus@7925
    24
	SDL_language "C"
icculus@7925
    25
	SDL_sourcedir "../src"
icculus@7925
    26
	SDL_dependency "windows"
icculus@7925
    27
		SDL_os "windows|mingw"
icculus@7925
    28
		SDL_paths { "/main/windows/" }
icculus@7925
    29
	SDL_dependency "macosx or ios"
icculus@7925
    30
		SDL_os "macosx|ios|cygwin"
slouken@8149
    31
		SDL_paths { "/main/dummy/" }