-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpremake5.lua
More file actions
40 lines (31 loc) · 1.07 KB
/
premake5.lua
File metadata and controls
40 lines (31 loc) · 1.07 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
36
37
38
39
40
include "Settings.lua"
include "Dependencies.lua"
TOSHI_PROJECT_NAME = "Toshi (" .. _OPTIONS["renderer"] .. ")"
TOSHI_RESOURCE_FILE = "\"%{wks.location}/bin-int/" .. outputdir .. "/" .. TOSHI_PROJECT_NAME .. "/Toshi.res\""
SHARED_PROJECT_NAME = "Shared"
workspace ("Toshi (" .. _OPTIONS["renderer"] .. ")")
platforms "Windows"
configurations { "Debug", "Release", "Dist" }
disablewarnings { "4996" }
debugdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}")
targetdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}")
objdir ("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}")
filter "options:arch=x86"
architecture "x86"
filter "options:arch=x64"
architecture "x64"
group "Engine"
include "Toshi"
include "Shared"
include "OpenBlob"
include "OpenGlobs"
group "Toshi Tools"
include "Tools/ToshiResourceViewer"
include "Tools/ttc"
include "Tools/TTEX_Rev_To_Win"
include "Tools/UnitTests"
group "Third-Party"
include "Toshi/Vendor/libogg"
include "Toshi/Vendor/libvorbis"
include "Toshi/Vendor/libtheora"
include "Toshi/Vendor/theoraplay"