This repository was archived by the owner on Jan 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtundra.lua
More file actions
30 lines (25 loc) · 1.37 KB
/
tundra.lua
File metadata and controls
30 lines (25 loc) · 1.37 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
local common = {
Env = {
CPPDEFS = {
{ "STREAMER_DEBUG"; Config = "*-*-debug-*" },
{ "STREAMER_RELEASE"; Config = "*-*-release-*" },
{ "STREAMER_FINAL"; Config = "*-*-production-*" },
{ "STREAMER_PS2_SCE"; Config = "*-*-*-sce" },
},
}
}
Build {
Units = "units.lua",
SyntaxExtensions = { "tundra.syntax.glob" },
ScriptDirs = { "scripts" },
Configs = {
Config { Name = "win32-msvc", Inherit = common, Env = { CPPDEFS = { "STREAMER_WIN32" } }, Tools = { { "msvc-winsdk"; TargetArch = "x86" } } },
Config { Name = "win64-msvc", Inherit = common, Env = { CPPDEFS = { "STREAMER_WIN32" } }, Tools = { { "msvc-winsdk"; TargetArch = "x64" } } },
Config { Name = "macosx-clang", Inherit = common, Env = { CPPDEFS = { "STREAMER_UNIX" } }, Tools = { "clang-osx" } },
Config { Name = "linux-gcc", Inherit = common, Env = { CPPDEFS = { "STREAMER_UNIX" } }, Tools = { "gcc" } },
Config { Name = "ps2-gcc", SubConfigs = { iop = "ps2-iopgcc", ee = "ps2-eegcc" }, DefaultSubConfig = "ee" },
Config { Name = "ps2-iopgcc", Virtual = true, Inherit = common, Tools = { "gcc", { "tundra.tools.ps2sdk"; TargetArch = "iop" } }, Env = { CPPDEFS = { "STREAMER_PS2", "_IOP" } } },
Config { Name = "ps2-eegcc", Virtual = true, Inherit = common, Tools = { "gcc", { "tundra.tools.ps2sdk"; TargetArch = "ee" } }, Env = { CPPDEFS = { "STREAMER_PS2" } } }
},
SubVariants = { "default", "sce" }
}