File: premake5.lua

package info (click to toggle)
brotli 0.5.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 18,544 kB
  • ctags: 1,731
  • sloc: ansic: 39,873; cpp: 834; python: 431; makefile: 65; sh: 57
file content (70 lines) | stat: -rw-r--r-- 1,532 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
-- A solution contains projects, and defines the available configurations
solution "brotli"
configurations { "Release", "Debug" }
targetdir "bin"
location "buildfiles"
flags "RelativeLinks"

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" }