demboyz/premake/sourcesdk.lua

29 lines
661 B
Lua
Raw Normal View History

local base_dir = (solution().basedir .. "/external/sourcesdk/")
local external_dir = (solution().basedir .. "/external/")
group "external"
project "sourcesdk"
kind "StaticLib"
language "C++"
location (_ACTION .. "/" .. project().name)
configuration "gmake"
buildoptions { "-std=c++11" }
configuration {}
includedirs
{
base_dir .. "include/",
external_dir .. "snappy-1.1.9/"
}
files
{
base_dir .. "**.h",
base_dir .. "**.cpp"
}
links
{
"snappy"
}
project "*"
group ""