premake/projects/testshader.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.
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
testshader.lua
icculus@7925
    16
icculus@7925
    17
	This file defines the testshader test project. It depends on the SDL2main
icculus@7925
    18
	and SDL2 projects. It will not build on iOS or Cygwin. This project has a
icculus@7925
    19
	dependency on OpenGL.
icculus@7925
    20
]]
icculus@7925
    21
icculus@7925
    22
SDL_project "testshader"
icculus@7925
    23
	SDL_kind "ConsoleApp"
icculus@7925
    24
	SDL_notos "ios|cygwin"
icculus@7925
    25
	SDL_language "C"
icculus@7925
    26
	SDL_sourcedir "../test"
icculus@7925
    27
	SDL_projectLocation "tests"
icculus@7925
    28
	-- a list of items to copy from the sourcedir to the destination
icculus@7925
    29
	SDL_copy { "icon.bmp" }
icculus@7925
    30
	SDL_projectDependencies { "SDL2main", "SDL2" }
icculus@7925
    31
	SDL_defines { "HAVE_OPENGL" }
icculus@7925
    32
	SDL_dependency "OpenGL"
icculus@7925
    33
		-- opengl is platform independent
icculus@7925
    34
		SDL_depfunc "OpenGL"
slouken@8149
    35
		SDL_files { "/testshader.*" }