-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpremake5.lua
More file actions
60 lines (48 loc) · 1.19 KB
/
premake5.lua
File metadata and controls
60 lines (48 loc) · 1.19 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
workspace "reCOM"
configurations { "Debug", "Release" }
platforms { "x86", "x86_64", "PS2" }
defaultplatform "x86"
project "fts"
kind "ConsoleApp"
language "C++"
flags { "MultiProcessorCompile" }
includedirs {
"src",
"vendor"
}
libdirs { "lib" }
links { "opengl32.lib", "SDL3.lib", "SDL3_image.lib", "SDL3_ttf.lib", "glew32.lib" }
files {
"src/Apps/FTS/**.cpp",
"src/Apps/FTS/**.h",
"src/gamez/**.cpp",
"src/gamez/**.h",
"vendor/**.cpp",
"vendor/**.h",
"data/**.rdr",
"data/**.zrdr"
}
removefiles {
"vendor/glm/glm.cppm"
}
filter { "configurations:Debug" }
defines { "DEBUG", "NOGAME" }
symbols "On"
targetdir "output/debug"
filter { "configurations:Release" }
defines { "NDEBUG" }
optimize "On"
targetdir "output/release"
filter { "platforms:x86" }
system "Windows"
architecture "x86"
targetname ("fts32")
filter { "platforms:x86_64" }
system "Windows"
architecture "x86_64"
targetname ("fts64")
filter { "platforms:PS2" }
system "bsd"
architecture "mips"
targetname ("SCUS-972")
targetextension (".05")