File: premake5.lua

package info (click to toggle)
guetzli 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 636 kB
  • ctags: 730
  • sloc: cpp: 7,328; makefile: 46; python: 41
file content (38 lines) | stat: -rw-r--r-- 938 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
workspace "guetzli"
  configurations { "Release", "Debug" }
  filter "action:vs*"
    platforms { "x86_64", "x86" }

  flags { "C++11" }

  -- workaround for #41
  filter "action:gmake"
    symbols "On"

  filter "configurations:Debug"
    symbols "On"
  filter "configurations:Release"
    optimize "Full"

  project "guetzli"
    kind "ConsoleApp"
    language "C++"
    flags "C++11"
    includedirs { ".", "third_party/butteraugli" }
    filter "action:gmake"
      linkoptions { "`pkg-config --libs libpng`" }
      buildoptions { "`pkg-config --cflags libpng`" }
    filter "action:vs*"
      links { "shlwapi" }
    filter "platforms:x86"
      architecture "x86"
    filter "platforms:x86_64"
      architecture "x86_64"
    filter {}
    files
      {
        "guetzli/*.cc",
        "guetzli/*.h",
        "third_party/butteraugli/butteraugli/butteraugli.cc",
        "third_party/butteraugli/butteraugli/butteraugli.h"
      }