demboyz/premake/premake5.lua
2015-06-14 22:59:30 -04:00

44 lines
1.1 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/**.h",
"../external/**.cpp"
}
includedirs
{
"../external/sourcesdk/include",
"../external/rapidjson-1.0.2/include",
"../demboyz"
}
configuration "Debug"
targetdir (_ACTION .. "/build/Debug")
defines { "DEBUG" }
configuration "Release"
targetdir (_ACTION .. "/build/Release")
defines { "NDEBUG" }
optimize "Full"
configuration {}