-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake4.lua
executable file
·42 lines (35 loc) · 1.1 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
#!lua
local output = "./build/" .. _ACTION
solution "c2play_solution"
configurations { "Debug", "Release" }
project "c2play"
location (output)
kind "ConsoleApp"
language "C++"
includedirs { "src/Media", "src/UI", "src/UI/Fbdev" }
files { "src/**.h", "src/**.cpp" }
excludes { "src/UI/X11/**" }
buildoptions { "-std=c++11" }
linkoptions { "-lavformat -lavcodec -lavutil -lpthread -lasound -lrt -lEGL -lGLESv2 -lass" }
configuration "Debug"
flags { "Symbols" }
defines { "DEBUG" }
configuration "Release"
flags { "Optimize" }
defines { "" }
project "c2play-x11"
location (output)
kind "ConsoleApp"
language "C++"
includedirs { "src/Media", "src/UI", "src/UI/X11" }
files { "src/**.h", "src/**.cpp" }
excludes { "src/UI/Fbdev/**" }
buildoptions { "-std=c++11 -Wall" }
linkoptions { "-lavformat -lavcodec -lavutil -lpthread -lasound -lrt -lX11 -lEGL -lGLESv2 -lass" }
defines { "X11" }
configuration "Debug"
flags { "Symbols" }
defines { "DEBUG" }
configuration "Release"
flags { "Optimize" }
defines { "" }