blob: b62abcdf24e9a6d5d942dba128c6920c3a35a077 [file] [log] [blame]
Eugene Kliuchnikov378485b2016-06-16 10:52:57 +02001-- A solution contains projects, and defines the available configurations
2solution "brotli"
3configurations { "Release", "Debug" }
4platforms { "Static", "Shared" }
5targetdir "bin"
6location "build"
7flags "RelativeLinks"
8
9filter "configurations:Release"
10 optimize "Speed"
11 flags { "StaticRuntime" }
12
13filter "configurations:Debug"
14 flags { "Symbols" }
15
16filter { "platforms:Static" }
17 kind "StaticLib"
18
19filter { "platforms:Shared" }
20 kind "SharedLib"
21
22configuration { "gmake" }
23 buildoptions { "-Wall -fno-omit-frame-pointer" }
24 location "build/gmake"
25
26configuration { "macosx" }
27 defines { "DOS_MACOSX" }
28
29project "brotli_common"
30 language "C"
31 files { "common/**.h", "common/**.c" }
32
33project "brotli_dec"
34 language "C"
35 files { "dec/**.h", "dec/**.c" }
36 links "brotli_common"
37
38project "brotli_enc"
39 language "C"
40 files { "enc/**.h", "enc/**.c" }
41 links "brotli_common"
42
43project "bro"
44 kind "ConsoleApp"
45 language "C++"
46 files { "tools/bro.cc" }
47 links { "brotli_common", "brotli_dec", "brotli_enc" }