2016-06-16 16:52:57 +08:00
|
|
|
-- A solution contains projects, and defines the available configurations
|
|
|
|
solution "brotli"
|
|
|
|
configurations { "Release", "Debug" }
|
|
|
|
targetdir "bin"
|
2016-06-17 22:24:51 +08:00
|
|
|
location "buildfiles"
|
2016-06-16 16:52:57 +08:00
|
|
|
flags "RelativeLinks"
|
|
|
|
|
|
|
|
filter "configurations:Release"
|
|
|
|
optimize "Speed"
|
|
|
|
flags { "StaticRuntime" }
|
|
|
|
|
|
|
|
filter "configurations:Debug"
|
|
|
|
flags { "Symbols" }
|
|
|
|
|
|
|
|
configuration { "gmake" }
|
|
|
|
buildoptions { "-Wall -fno-omit-frame-pointer" }
|
2016-06-17 22:24:51 +08:00
|
|
|
location "buildfiles/gmake"
|
|
|
|
|
2016-06-20 23:20:17 +08:00
|
|
|
configuration { "xcode4" }
|
|
|
|
location "buildfiles/xcode4"
|
|
|
|
|
2016-06-17 22:24:51 +08:00
|
|
|
configuration "linux"
|
|
|
|
links "m"
|
2016-06-16 16:52:57 +08:00
|
|
|
|
|
|
|
configuration { "macosx" }
|
|
|
|
defines { "DOS_MACOSX" }
|
|
|
|
|
|
|
|
project "brotli_common"
|
2016-06-20 23:20:17 +08:00
|
|
|
kind "SharedLib"
|
2016-06-16 16:52:57 +08:00
|
|
|
language "C"
|
|
|
|
files { "common/**.h", "common/**.c" }
|
|
|
|
|
|
|
|
project "brotli_dec"
|
2016-06-20 23:20:17 +08:00
|
|
|
kind "SharedLib"
|
2016-06-16 16:52:57 +08:00
|
|
|
language "C"
|
|
|
|
files { "dec/**.h", "dec/**.c" }
|
|
|
|
links "brotli_common"
|
|
|
|
|
|
|
|
project "brotli_enc"
|
2016-06-20 23:20:17 +08:00
|
|
|
kind "SharedLib"
|
2016-06-16 16:52:57 +08:00
|
|
|
language "C"
|
|
|
|
files { "enc/**.h", "enc/**.c" }
|
|
|
|
links "brotli_common"
|
|
|
|
|
2016-06-20 23:20:17 +08:00
|
|
|
project "brotli"
|
|
|
|
kind "StaticLib"
|
|
|
|
language "C"
|
|
|
|
files {
|
|
|
|
"common/**.h", "common/**.c",
|
|
|
|
"dec/**.h", "dec/**.c",
|
|
|
|
"enc/**.h", "enc/**.c"
|
|
|
|
}
|
|
|
|
|
2016-06-16 16:52:57 +08:00
|
|
|
project "bro"
|
|
|
|
kind "ConsoleApp"
|
2016-06-17 22:24:51 +08:00
|
|
|
language "C"
|
|
|
|
files { "tools/bro.c" }
|
2016-06-20 23:20:17 +08:00
|
|
|
links { "brotli" }
|