demboyz/premake/demboyz.lua
2015-05-15 18:06:05 -04:00

42 lines
1.0 KiB
Lua

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