premake/projects/SDL2main.lua
author Sam Lantinga
Thu, 01 Sep 2016 01:26:56 -0700
changeset 10304 ee83e0b4a36f
parent 9998 f67cf37e9cd4
permissions -rwxr-xr-x
wayland: Add support for relative mouse mode, by Jonas Ã…dahl <jadahl@gmail.com>

Generate the C protocol files from the protocol XML files installed by
wayland-protocols, and use them to implement support for relative pointer
motions and pointer locking.

Note that at the time, the protocol is unstable and may change in the future.
Any future breaking changes will, however, fail gracefully and result in no
regressions compared to before this patch.
     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/" }