mirror of
https://github.com/google/brotli.git
synced 2024-12-26 17:51:04 +00:00
72 lines
1.5 KiB
Lua
72 lines
1.5 KiB
Lua
-- A solution contains projects, and defines the available configurations
|
|
solution "brotli"
|
|
configurations { "Release", "Debug" }
|
|
targetdir "bin"
|
|
location "buildfiles"
|
|
flags "RelativeLinks"
|
|
includedirs { "include" }
|
|
|
|
filter "configurations:Release"
|
|
optimize "Speed"
|
|
flags { "StaticRuntime" }
|
|
|
|
filter "configurations:Debug"
|
|
flags { "Symbols" }
|
|
|
|
configuration { "gmake" }
|
|
buildoptions { "-Wall -fno-omit-frame-pointer" }
|
|
location "buildfiles/gmake"
|
|
|
|
configuration { "xcode4" }
|
|
location "buildfiles/xcode4"
|
|
|
|
configuration "linux"
|
|
links "m"
|
|
|
|
configuration { "macosx" }
|
|
defines { "OS_MACOSX" }
|
|
|
|
project "brotli_common"
|
|
kind "SharedLib"
|
|
language "C"
|
|
files { "common/**.h", "common/**.c" }
|
|
|
|
project "brotli_common_static"
|
|
kind "StaticLib"
|
|
targetname "brotli_common"
|
|
language "C"
|
|
files { "common/**.h", "common/**.c" }
|
|
|
|
project "brotli_dec"
|
|
kind "SharedLib"
|
|
language "C"
|
|
files { "dec/**.h", "dec/**.c" }
|
|
links "brotli_common"
|
|
|
|
project "brotli_dec_static"
|
|
kind "StaticLib"
|
|
targetname "brotli_dec"
|
|
language "C"
|
|
files { "dec/**.h", "dec/**.c" }
|
|
links "brotli_common_static"
|
|
|
|
project "brotli_enc"
|
|
kind "SharedLib"
|
|
language "C"
|
|
files { "enc/**.h", "enc/**.c" }
|
|
links "brotli_common"
|
|
|
|
project "brotli_enc_static"
|
|
kind "StaticLib"
|
|
targetname "brotli_enc"
|
|
language "C"
|
|
files { "enc/**.h", "enc/**.c" }
|
|
links "brotli_common_static"
|
|
|
|
project "bro"
|
|
kind "ConsoleApp"
|
|
language "C"
|
|
linkoptions "-static"
|
|
files { "tools/bro.c" }
|
|
links { "brotli_common_static", "brotli_dec_static", "brotli_enc_static" }
|