Split external libs into their own vs projects.
This commit is contained in:
parent
ef09958aa5
commit
6d8ed3b5c6
20
premake/json_checker.lua
Normal file
20
premake/json_checker.lua
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
local base_dir = (solution().basedir .. "/external/json_checker/")
|
||||
|
||||
group "external"
|
||||
project "json_checker"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
location (_ACTION .. "/" .. project().name)
|
||||
|
||||
includedirs
|
||||
{
|
||||
base_dir .. "include/"
|
||||
}
|
||||
files
|
||||
{
|
||||
base_dir .. "*.h",
|
||||
base_dir .. "*.cpp"
|
||||
}
|
||||
project "*"
|
||||
group ""
|
@ -28,10 +28,7 @@ solution "demboyz"
|
||||
files
|
||||
{
|
||||
"../demboyz/**.h",
|
||||
"../demboyz/**.cpp",
|
||||
"../external/**.h",
|
||||
"../external/**.cpp",
|
||||
"../external/**.cc"
|
||||
"../demboyz/**.cpp"
|
||||
}
|
||||
includedirs
|
||||
{
|
||||
@ -42,4 +39,13 @@ solution "demboyz"
|
||||
"../external/snappy-1.1.3/include",
|
||||
"../demboyz"
|
||||
}
|
||||
links
|
||||
{
|
||||
"json_checker",
|
||||
"sourcesdk"
|
||||
}
|
||||
project "*"
|
||||
|
||||
dofile "json_checker.lua"
|
||||
dofile "snappy.lua"
|
||||
dofile "sourcesdk.lua"
|
||||
|
20
premake/snappy.lua
Normal file
20
premake/snappy.lua
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
local base_dir = (solution().basedir .. "/external/snappy-1.1.3/")
|
||||
|
||||
group "external"
|
||||
project "snappy"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
location (_ACTION .. "/" .. project().name)
|
||||
|
||||
includedirs
|
||||
{
|
||||
base_dir .. "include/"
|
||||
}
|
||||
files
|
||||
{
|
||||
base_dir .. "*.h",
|
||||
base_dir .. "*.cc"
|
||||
}
|
||||
project "*"
|
||||
group ""
|
26
premake/sourcesdk.lua
Normal file
26
premake/sourcesdk.lua
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
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)
|
||||
|
||||
includedirs
|
||||
{
|
||||
base_dir .. "include/",
|
||||
external_dir .. "snappy-1.1.3/include/"
|
||||
}
|
||||
files
|
||||
{
|
||||
base_dir .. "*.h",
|
||||
base_dir .. "*.cpp"
|
||||
}
|
||||
links
|
||||
{
|
||||
"snappy"
|
||||
}
|
||||
project "*"
|
||||
group ""
|
Loading…
Reference in New Issue
Block a user