premake/projects/testshape.lua
changeset 7925 f090a47eb7f7
child 8149 681eb46b8ac4
equal deleted inserted replaced
7924:fcb86d323770 7925:f090a47eb7f7
       
     1 -- Copyright (C) 1997-2011 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 testshape.lua
       
    16 
       
    17 	This file defines the testshape test project. It depends on the SDL2main
       
    18 	and SDL2 projects. It will not build on iOS or Cygwin. This project has a
       
    19 	unique SDL_copy directive, since it copies from a subdirectory and it copies
       
    20 	all the files of a specific type.
       
    21 ]]
       
    22 
       
    23 SDL_project "testshape"
       
    24 	SDL_kind "ConsoleApp"
       
    25 	SDL_notos "ios|cygwin"
       
    26 	SDL_language "C"
       
    27 	SDL_sourcedir "../test"
       
    28 	SDL_projectLocation "tests"
       
    29 	-- a list of items to copy from the sourcedir to the destination
       
    30 	SDL_copy { "shapes/*.bmp" }
       
    31 	SDL_projectDependencies { "SDL2main", "SDL2" }
       
    32 	SDL_files { "/testshape.*" }