iw4x-client/deps/premake/json11.lua

34 lines
505 B
Lua
Raw Normal View History

2022-04-07 05:41:20 -04:00
json11 = {
source = path.join(dependencies.basePath, "json11"),
}
function json11.import()
links {"json11"}
json11.includes()
end
function json11.includes()
includedirs {json11.source}
end
function json11.project()
project "json11"
language "C++"
2022-06-04 04:56:14 -04:00
cppdialect "C++11"
2022-04-07 05:41:20 -04:00
files
{
path.join(json11.source, "*.cpp"),
path.join(json11.source, "*.hpp"),
}
warnings "Off"
defines {"_LIB"}
removedefines {"_USRDLL", "_DLL"}
kind "StaticLib"
end
2022-06-04 04:56:14 -04:00
table.insert(dependencies, json11)