-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpremake4.lua
More file actions
35 lines (29 loc) · 1.06 KB
/
premake4.lua
File metadata and controls
35 lines (29 loc) · 1.06 KB
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
solution "ProjectIce"
configurations { "Debug", "Release" }
--startproject "ice" --enable this when we switch the new version of premake
configuration { "windows" }
defines { "WINDOWS" , "SFMLRENDER" }
includedirs { "C:/codelibs/boost_1_53_0/" , "C:/codelibs/SFML-2.1/include/" }
links { "sfml-main" }
links { "sfml-graphics-d", "sfml-window-d", "sfml-system-d" }
libdirs { "C:/codelibs/SFML-2.1/lib/" }
configuration { "linux" }
defines { "LINUX", "TERMRENDER" }
links { "m", "rt", "termbox" }
flags { }
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
configuration "Release"
defines { "NDEBUG","RELEASE_BUILD" }
flags { "Optimize" }
project "ice"
kind "ConsoleApp"
language "C++"
files { "src/main.cpp", "src/engine/**.h", "src/engine/**.cpp", "src/game/**.h", "src/game/**.cpp" }
includedirs { "src/" }
project "test"
kind "ConsoleApp"
language "C++"
files { "src/test.cpp", "src/engine/**.h", "src/engine/**.cpp", "src/game/**.h", "src/game/**.cpp" }
includedirs { "src/" }