premake/projects/testnative.lua
author Ryan C. Gordon
Fri, 05 Aug 2016 04:23:32 -0400
changeset 10259 457d9c7868ec
parent 9998 f67cf37e9cd4
permissions -rwxr-xr-x
nas: initial shot at audio capture support. Compiles, but not tested.
     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 testnative.lua
    16 
    17 	This file defines the testnative test project. It depends on the SDL2main
    18 	and SDL2 projects. It will not build on iOS or Cygwin. This project has
    19 	specialized dependencies separate to Windows/MinGW, Mac OS X, and Linux.
    20 ]]
    21 
    22 SDL_project "testnative"
    23 	SDL_kind "ConsoleApp"
    24 	SDL_notos "ios|cygwin"
    25 	SDL_language "C"
    26 	SDL_sourcedir "../test"
    27 	SDL_projectLocation "tests"
    28 	SDL_projectDependencies { "SDL2main", "SDL2" }
    29 	SDL_files { "/testnative.*" }
    30 	SDL_copy { "icon.bmp" }
    31 	SDL_dependency "windows"
    32 		SDL_os "windows|mingw"
    33 		SDL_files { "/testnativew32.*" }
    34 	SDL_dependency "macosx"
    35 		SDL_os "macosx"
    36 		SDL_files { "/testnativecocoa.*" }
    37 	SDL_dependency "linux"
    38 		SDL_os "linux"
    39 		SDL_depfunc "X11"
    40 		SDL_files { "/testnativex11.*" }