premake/projects/testshape.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
testshape.lua
icculus@7925
    16
icculus@7925
    17
	This file defines the testshape 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
	unique SDL_copy directive, since it copies from a subdirectory and it copies
icculus@7925
    20
	all the files of a specific type.
icculus@7925
    21
]]
icculus@7925
    22
icculus@7925
    23
SDL_project "testshape"
icculus@7925
    24
	SDL_kind "ConsoleApp"
icculus@7925
    25
	SDL_notos "ios|cygwin"
icculus@7925
    26
	SDL_language "C"
icculus@7925
    27
	SDL_sourcedir "../test"
icculus@7925
    28
	SDL_projectLocation "tests"
icculus@7925
    29
	-- a list of items to copy from the sourcedir to the destination
icculus@7925
    30
	SDL_copy { "shapes/*.bmp" }
icculus@7925
    31
	SDL_projectDependencies { "SDL2main", "SDL2" }
slouken@8149
    32
	SDL_files { "/testshape.*" }