demboyz/premake/premake5.lua

50 lines
1.1 KiB
Lua

solution "demboyz"
basedir ".."
location (_ACTION)
targetdir "../bin"
startproject "demboyz"
configurations { "Release", "Debug" }
flags { "MultiProcessorCompile", "Symbols" }
configuration "Debug"
defines { "DEBUG" }
configuration "Release"
optimize "Full"
configuration {}
project "demboyz"
kind "ConsoleApp"
language "C++"
configuration "gmake"
buildoptions { "-std=c++17 -Wall" }
linkoptions { "-flto -no-pie -Wall" }
configuration {}
files
{
"../demboyz/**.h",
"../demboyz/**.cpp"
}
includedirs
{
"../external/sourcesdk/include",
"../external/celt-e18de77/include",
"../external/SILK_SDK_SRC_FLP_v1.0.9/interface",
"/usr/include/opus",
"../demboyz"
}
links
{
"sourcesdk",
"snappy",
"celt",
"opusenc",
"SKP_SILK_SDK"
}
project "*"
dofile "snappy.lua"
dofile "sourcesdk.lua"
dofile "celt.lua"
dofile "silk.lua"