Changeset 120 for trunk/tests/render_test
- Timestamp:
- 06/15/13 02:05:49 (12 years ago)
- Location:
- trunk/tests/render_test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/render_test/premake4.lua
r61 r120 1 if _ACTION == nil then2 print "Error! You must specify target build"3 print "Example: ./premake4 gmake"4 print " This will create makefiles for Linux"5 print ""6 print "Aborting!"7 print ""8 return9 end10 11 1 solution "nv_render_test" 12 2 configurations { "debug", "release" } … … 15 5 flags { "ExtraWarnings", "NoPCH" } 16 6 17 -- For starters, check the target build.18 -- If this is a gmake build we must add these19 -- flags to enable C++11 support.20 if _ACTION == "gmake" then21 buildoptions "-std=c++11"22 end23 24 7 configuration "debug" 25 8 defines { "DEBUG" } 26 9 flags { "Symbols", "StaticRuntime" } 27 objdir (_ACTION .."/debug")10 objdir (_ACTION or "".."/debug") 28 11 29 12 configuration "release" 30 13 defines { "NDEBUG" } 31 14 flags { "Optimize", "StaticRuntime" } 32 objdir (_ACTION .."/release")15 objdir (_ACTION or "".."/release") 33 16 34 17 dofile("render_test.lua") -
trunk/tests/render_test/render_test.lua
r46 r120 5 5 includedirs { "../../" } 6 6 targetname "rl" 7 defines { "_SCL_SECURE_NO_WARNINGS" }8 7 links { "nv" } 9 8
Note: See TracChangeset
for help on using the changeset viewer.