premake/projects/testgl2.lua
author Sam Lantinga <slouken@libsdl.org>
Sat, 02 Jan 2016 10:10:34 -0800
changeset 9998 f67cf37e9cd4
parent 9619 b94b6d0bff0f
permissions -rwxr-xr-x
Updated copyright to 2016
     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 testgl2.lua
    16 
    17 	This file defines the testgl2 test project. It depends on the SDL2main,
    18 	SDL2test, and SDL2 projects. It will not build on iOS or Cygwin. This project
    19 	has a dependency on OpenGL and will specially supply a preprocessor definition
    20 	for indicating OpenGL support.
    21 ]]
    22 
    23 SDL_project "testgl2"
    24 	SDL_kind "ConsoleApp"
    25 	SDL_notos "ios|cygwin"
    26 	SDL_language "C"
    27 	SDL_sourcedir "../test"
    28 	SDL_projectLocation "tests"
    29 	SDL_projectDependencies { "SDL2main", "SDL2test", "SDL2" }
    30 	SDL_defines { "HAVE_OPENGL" }
    31 	SDL_dependency "OpenGL"
    32 		-- opengl is platform independent
    33 		SDL_depfunc "OpenGL"
    34 		SDL_files { "/testgl2.*" }