demboyz/premake/premake5.lua
2015-06-14 17:27:36 -04:00

43 lines
1.0 KiB
Lua

solution "demboyz"
basedir ".."
location (_ACTION)
startproject "demboyz"
configurations { "Debug", "Release" }
platforms "x32"
flags { "MultiProcessorCompile", "Symbols" }
defines "_CRT_SECURE_NO_WARNINGS"
-- GCC specific build options.
configuration "gmake"
-- Enables C++11 support.
buildoptions { "-std=c++0x" }
configuration {}
project "demboyz"
kind "ConsoleApp"
language "C++"
files
{
"../demboyz/**.h",
"../demboyz/**.cpp",
"../external/sourcesdk/*.h",
"../external/sourcesdk/*.cpp"
}
includedirs
{
"../external",
"../demboyz"
}
configuration "Debug"
targetdir (_ACTION .. "/build/Debug")
defines { "DEBUG" }
configuration "Release"
targetdir (_ACTION .. "/build/Release")
defines { "NDEBUG" }
optimize "Full"
configuration {}