Hash :
378485b0
Author :
Date :
2016-06-16T10:52:57
Update build system. Now libraries are produced as build artifacts. There are currently 3 ways to build: * Easy: `./configure; make` * Simple: use Bazel * Portable: use premake5 to generate XCode / MSVS projects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
-- A solution contains projects, and defines the available configurations
solution "brotli"
configurations { "Release", "Debug" }
platforms { "Static", "Shared" }
targetdir "bin"
location "build"
flags "RelativeLinks"
filter "configurations:Release"
optimize "Speed"
flags { "StaticRuntime" }
filter "configurations:Debug"
flags { "Symbols" }
filter { "platforms:Static" }
kind "StaticLib"
filter { "platforms:Shared" }
kind "SharedLib"
configuration { "gmake" }
buildoptions { "-Wall -fno-omit-frame-pointer" }
location "build/gmake"
configuration { "macosx" }
defines { "DOS_MACOSX" }
project "brotli_common"
language "C"
files { "common/**.h", "common/**.c" }
project "brotli_dec"
language "C"
files { "dec/**.h", "dec/**.c" }
links "brotli_common"
project "brotli_enc"
language "C"
files { "enc/**.h", "enc/**.c" }
links "brotli_common"
project "bro"
kind "ConsoleApp"
language "C++"
files { "tools/bro.cc" }
links { "brotli_common", "brotli_dec", "brotli_enc" }