solution "nv_render_test" configurations { "debug", "release" } language "C++" flags { "ExtraWarnings", "NoPCH" } configuration "debug" defines { "DEBUG" } flags { "Symbols", "StaticRuntime" } objdir (_ACTION.."/debug") configuration "release" defines { "NDEBUG" } flags { "Optimize", "StaticRuntime" } objdir (_ACTION.."/release") dofile("render_test.lua") dofile("../../nv.lua") if _ACTION == "clean" then for action in premake.action.each() do os.rmdir(action.trigger) end end