demboyz/premake/premake5.lua

47 lines
1.2 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",
"../external/**.c"
}
includedirs
{
"../external/json_checker/include",
"../external/libb64-1.2.1/include",
"../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 {}