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