-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake4.lua
30 lines (25 loc) · 837 Bytes
/
premake4.lua
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
solution "MPRISLyrics"
configurations { "Debug", "Release" }
location "build"
targetdir "bin"
project "MPRISLyrics"
targetname "mprislyrics"
kind "ConsoleApp"
language "C++"
files { "**.hpp",
"**.cpp" }
includedirs { "include" }
DEPS = "dbus-c++-1 tcl ncurses"
libdirs { os.findlib("dbus-c++-1"),
os.findlib("tcl"),
os.findlib("ncurses") }
linkoptions { "`pkg-config --libs " .. DEPS .. "`",
"-ltcl" }
buildoptions { "`pkg-config --cflags " .. DEPS .. "`",
"-std=c++11" }
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }