67 lines
1.7 KiB
Lua
67 lines
1.7 KiB
Lua
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,
|
|
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) |