-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
36 lines (30 loc) · 991 Bytes
/
premake5.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
workspace "Rush-hour"
configurations { "Debug", "Release" }
architecture "x86_64"
location "build"
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
configuration { "windows", "vs*" }
location "build"
debugdir "."
otherfiles = { "Code/GameSituation.cpp", "Code/GameSituation.h", "Code/Generator.h", "Code/Graph.h", "Code/Timer.h" }
project "Rush-hour-test"
kind "ConsoleApp"
language "C++"
targetdir "bin/%{cfg.buildcfg}"
objdir "obj/%{cfg.buildcfg}"
files { otherfiles, "Code/RushHourTest.cpp" }
project "Rush-hour-sdl"
kind "ConsoleApp"
language "C++"
targetdir "bin/%{cfg.buildcfg}"
objdir "obj/%{cfg.buildcfg}"
files { otherfiles, "Code/RushHourApp.cpp" }
includedirs { "include" }
libdirs { "lib/x64" }
links { "SDL2.lib", "SDL2main.lib", "SDL2_image.lib" }
links { "SDL2", "SDL2main", "SDL2_image"}