• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1-- A solution contains projects, and defines the available configurations
2solution "brotli"
3configurations { "Release", "Debug" }
4targetdir "bin"
5location "buildfiles"
6flags "RelativeLinks"
7includedirs { "include" }
8
9filter "configurations:Release"
10  optimize "Speed"
11  flags { "StaticRuntime" }
12
13filter "configurations:Debug"
14  flags { "Symbols" }
15
16configuration { "gmake" }
17  buildoptions { "-Wall -fno-omit-frame-pointer" }
18  location "buildfiles/gmake"
19
20configuration { "xcode4" }
21  location "buildfiles/xcode4"
22
23configuration "linux"
24  links "m"
25
26configuration { "macosx" }
27  defines { "OS_MACOSX" }
28
29project "brotlicommon"
30  kind "SharedLib"
31  language "C"
32  files { "common/**.h", "common/**.c" }
33
34project "brotlicommon_static"
35  kind "StaticLib"
36  targetname "brotlicommon"
37  language "C"
38  files { "common/**.h", "common/**.c" }
39
40project "brotlidec"
41  kind "SharedLib"
42  language "C"
43  files { "dec/**.h", "dec/**.c" }
44  links "brotlicommon"
45
46project "brotlidec_static"
47  kind "StaticLib"
48  targetname "brotlidec"
49  language "C"
50  files { "dec/**.h", "dec/**.c" }
51  links "brotlicommon_static"
52
53project "brotlienc"
54  kind "SharedLib"
55  language "C"
56  files { "enc/**.h", "enc/**.c" }
57  links "brotlicommon"
58
59project "brotlienc_static"
60  kind "StaticLib"
61  targetname "brotlienc"
62  language "C"
63  files { "enc/**.h", "enc/**.c" }
64  links "brotlicommon_static"
65
66project "bro"
67  kind "ConsoleApp"
68  language "C"
69  linkoptions "-static"
70  files { "tools/bro.c" }
71  links { "brotlicommon_static", "brotlidec_static", "brotlienc_static" }
72