Build/Core/Target/platform.lua

68 lines
1.7 KiB
Lua
Raw Normal View History

local platforms = {
win32 = {
defines = "_WIN32_AURORA_PREPROCESSOR",
targetLocal = true,
exts = {
SharedLib = ".dll",
WindowedApp = ".exe",
ConsoleApp = ".exe"
},
system = "windows"
},
freebsd = {
targetLocal = true,
forceLLVMStl = true,
stylizedName = "BSD",
devChainRequiresElfStrip = true,
devChainSupportsElfStrip = true,
devChainCoreUtils = true,
elfSupportsRPath = true,
exts = {
SharedLib = ".so",
StaticLib = ".a"
},
system = "bsd"
},
linux = {
defines = "_LINUX_AURORA_PREPROCESSOR",
forceLLVMStl = true,
targetLocal = true,
devChainRequiresElfStrip = true,
devChainSupportsElfStrip = true,
devChainCoreUtils = true,
elfSupportsRPath = true,
2024-06-28 10:37:59 +00:00
forcePortableLibc = true,
exts = {
SharedLib = ".so",
StaticLib = ".a"
},
system = "linux"
},
mac = {
defines = "_APPLE_AURORA_PREPROCESSOR",
targetLocal = true,
devChainCoreUtils = true,
exts = {
SharedLib = ".dynlib",
StaticLib = ".a"
},
system = "macosx"
},
ios = {
devChainCoreUtils = true,
stylizedName = "iOS",
defines = "_APPLE_MOBILE_AURORA_PREPROCESSOR",
system = "ios"
},
android = {
defines = "_ANDROID_AURORA_PREPROCESSOR",
requiresElfStrip = true,
exts = {
SharedLib = ".so",
StaticLib = ".a"
},
system = "android"
}
}
auMergeTable(auFetchGlobal("Platforms"), platforms)