premake/projects/testshader.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
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.*" }