-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake4.lua
34 lines (27 loc) · 1.15 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
#!lua
solution "TileEngine"
configurations { "Debug", "Release", "WindowsDebug" }
project "TileEngine"
kind "ConsoleApp"
language "C++"
targetname "TileEngine"
includedirs { "./include", "./src" }
files { "**.h", "**.hpp", "**.cpp", "**.cc" }
excludes { "./test/**" }
configuration "WindowsDebug"
buildoptions { "-std=c++11" }
links { "freetype_win", "yse", "glfw3", "gdi32", "opengl32", "png", "z", "DevIL", "chaiscript_stdlib-5.8.5" }
defines { "DEBUG" }
targetextension ".exe"
configuration "Debug"
buildoptions { "-std=c++14", "-Wno-unknown-pragmas", "-Wno-unknown-attributes", "-g", "-O0", '-pthread' }
links { "freetype", "yse", "glfw", "png", "z", "OpenGL.framework", "IL" }
defines { "DEBUG" }
flags { "Symbols" }
targetextension ".out"
configuration "Release"
buildoptions { "-std=c++11", "-Wno-unknown-pragmas", "-Wno-unknown-attributes", "-g", "-O0", '-pthread' }
links { "freetype", "yse", "glfw3.3.1", "png", "z", "OpenGL.framework", "IL", "chaiscript_stdlib-5.8.5" }
defines { "NDEBUG" }
flags { "Optimize" }
targetextension ".out"