AuroraSmallExample/premake5.lua
2021-10-02 14:24:30 +01:00

118 lines
2.6 KiB
Lua

require("aurora")
--auValaGirs = "C:\\msys64\\mingw64\\share\\gir-1.0"
--auValaDevVApis = {"C:\\msys64\\mingw64\\share\\vala-0.52\\vapi", "C:\\msys64\\mingw64\\share\\vala\\vapi"}
startSolution("Runtime Project")
local kNamespaceStlEx = "Vendor - 1 - STLEX"
local kNamespaceCompression = "Vendor - 2 - COMPRESSION"
local kNamespaceFormats = "Vendor - 3 - FORMATS"
local kNamespaceRtSupport = "Vendor - 4 - RUNTIME SUPPORT"
local kNamespaceCrypto = "Vendor - 5 - CRYPTO"
local kNamespaceJS = "Vendor - 6 - JAVASCRIPT"
local kNamespaceGraphics = "Vendor - 7 - GRAPHICS"
local kNamespaceAudio = "Vendor - 8 - AUDIO"
addVisit({
namespace = kNamespaceStlEx,
name = "uuid",
path = "Vendor/stduuid",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceCompression,
name = "zstd",
path = "Vendor/zstd",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceCompression,
name = "zlib",
path = "Vendor/zlib",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceCompression,
name = "bzip2",
path = "Vendor/bzip2",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceCompression,
name = "lz4",
path = "Vendor/lz4",
type = "StaticLib"
})
--addVisit({
-- namespace = kNamespaceCompression,
-- name = "lzma",
-- path = "Vendor/liblzma",
-- type = "StaticLib"
--})
addVisit({
namespace = kNamespaceCrypto,
name = "ltc",
path = "Vendor/libtomcrypt",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceCrypto,
name = "ltm",
path = "Vendor/libtommath",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceCrypto,
name = "mbedtls",
path = "Vendor/mbedtls",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceStlEx,
name = "fmt",
path = "Vendor/fmt",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceStlEx,
name = "json",
path = "Vendor/nlohmannjson",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceRtSupport,
name = "mimalloc",
path = "Vendor/mimalloc",
type = "StaticLib"
})
addVisit({
namespace = kNamespaceRtSupport,
name = "o1heap",
path = "Vendor/o1heap",
type = "StaticLib"
})
addVisit({
namespace = "Aurora",
name = "AuroraRuntime",
path = "Aurora/Runtime",
type = "SharedLib",
out = "[BUILD_PATH]"
})
processSolution()