-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpremake5.lua
More file actions
88 lines (84 loc) · 1.87 KB
/
premake5.lua
File metadata and controls
88 lines (84 loc) · 1.87 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
workspace "g3DTZ"
configurations {
"Debug_LCSPSP",
"Debug_LCSPS2",
"Debug_VCSPSP",
"Debug_VCSPS2",
"Release_LCSPSP",
"Release_LCSPS2",
"Release_VCSPSP",
"Release_VCSPS2"
}
characterset "MBCS"
defines "_CRT_SECURE_NO_WARNINGS"
filter "*Debug*"
defines "DEBUG"
symbols "On"
optimize "Off"
filter "*Release*"
symbols "Off"
optimize "On"
project "zlib"
location "projects\\zlib"
kind "StaticLib"
language "C"
includedirs "modules\\zlib"
files {
"modules\\zlib\\*.h",
"modules\\zlib\\*.c"
}
postbuildcommands {
"if not exist \"$(SolutionDir)zlib\\include\" mkdir \"$(SolutionDir)zlib\\include\"",
"for %%i in (zlib zconf) do copy /y \"$(SolutionDir)modules\\zlib\\%%i.h\" \"$(SolutionDir)zlib\\include\""
}
filter "*Debug*"
targetdir "zlib\\lib\\Debug"
filter "*Release*"
targetdir "zlib\\lib\\Release"
project "g3DTZ"
location "projects\\g3DTZ"
kind "ConsoleApp"
language "C++"
cppdialect "C++20"
sysincludedirs "zlib/include"
includedirs {
"$(ProjectDir)",
"source",
"source\\**"
}
files "source\\**.*"
links "zlib"
filter "*Debug*"
targetdir "bin/Debug"
syslibdirs "zlib/lib/Debug"
filter "*Release*"
targetdir "bin/Release"
syslibdirs "zlib/lib/Release"
filter "*LCSPSP*"
defines {
"LCS",
"PSP"
}
debugargs "\"C:/Users/guard3/Desktop/My G3/Grand Theft Auto/DTZ/lcs_psp.dtz\""
targetname "lcs_psp"
filter "*LCSPS2*"
defines {
"LCS",
"PS2"
}
debugargs "\"C:/Users/guard3/Desktop/My G3/Grand Theft Auto/DTZ/lcs_ps2.dtz\""
targetname "lcs_ps2"
filter "*VCSPSP*"
defines {
"VCS",
"PSP"
}
debugargs "\"C:/Users/guard3/Desktop/My G3/Grand Theft Auto/DTZ/vcs_psp.dtz\""
targetname "vcs_psp"
filter "*VCSPS2*"
defines {
"VCS",
"PS2"
}
debugargs "\"C:/Users/guard3/Desktop/My G3/Grand Theft Auto/DTZ/vcs_ps2.dtz\""
targetname "vcs_ps2"