mirror of
https://github.com/DaedalusX64/daedalus.git
synced 2025-04-02 10:21:48 -04:00
*Fixed debug build when DAEDALUS_DEBUG_DISPLAYLIST its defined, also I enabled it for debug builds *Fixed ptr->u32 cast in DLParser_DumpVtxInfoDKR, it was causing a compilation error for me) *Removed unsused zlib from third_party, also added webby
41 lines
886 B
Lua
41 lines
886 B
Lua
local CFiles = { ".c", ".h" }
|
|
Build {
|
|
Configs = {
|
|
Config {
|
|
Name = "generic-gcc",
|
|
DefaultOnHost = "linux",
|
|
Tools = { "gcc" },
|
|
},
|
|
Config {
|
|
Name = "macosx-gcc",
|
|
DefaultOnHost = "macosx",
|
|
Tools = { "gcc-osx" },
|
|
Env = {
|
|
CCOPTS = {
|
|
{ '-Wall', '-Werror' },
|
|
{ '-g'; Config = "*-*-debug" },
|
|
{ '-O2'; Config = "*-*-release" },
|
|
},
|
|
},
|
|
},
|
|
Config {
|
|
Name = "win64-msvc",
|
|
DefaultOnHost = "windows",
|
|
Tools = { "msvc-winsdk"; TargetPlatform = "x64" },
|
|
Env = {
|
|
CPPDEFS = { "_CRT_SECURE_NO_WARNINGS" },
|
|
CCOPTS = { '/W4', '/wd4127', '/wd4100' },
|
|
{ GENERATE_PDB = 1; Config = "*-*-debug" },
|
|
},
|
|
},
|
|
},
|
|
Units = function()
|
|
require "tundra.syntax.glob"
|
|
local demo = Program {
|
|
Name = "webbydemo",
|
|
Sources = { "demo.c", "webby.c" },
|
|
Libs = { { "ws2_32.lib"; Config = "win64-msvc" } },
|
|
}
|
|
Default(demo)
|
|
end,
|
|
}
|