Build/Core/Target/platform.lua

55 lines
1.3 KiB
Lua
Raw Normal View History

local platforms = {
win32 = {
defines = "_WIN32_AURORA_PREPROCESSOR",
targetLocal = true,
exts = {
SharedLib = ".dll",
WindowedApp = ".exe",
ConsoleApp = ".exe"
}
},
freebsd = {
targetLocal = true,
forceLLVMStl = true,
devChainRequiresElfStrip = true,
devChainSupportsElfStrip = true,
devChainCoreUtils = true,
elfSupportsRPath = true,
exts = {
SharedLib = ".so"
}
},
linux = {
defines = "_LINUX_AURORA_PREPROCESSOR",
forceLLVMStl = true,
targetLocal = true,
devChainRequiresElfStrip = true,
devChainSupportsElfStrip = true,
devChainCoreUtils = true,
elfSupportsRPath = true,
exts = {
SharedLib = ".so"
}
},
mac = {
defines = "_APPLE_AURORA_PREPROCESSOR",
targetLocal = true,
devChainCoreUtils = true,
exts = {
SharedLib = ".dynlib"
}
},
ios = {
devChainCoreUtils = true,
defines = "_APPLE_MOBILE_AURORA_PREPROCESSOR"
},
android = {
defines = "_ANDROID_AURORA_PREPROCESSOR",
requiresElfStrip = true,
exts = {
SharedLib = ".so"
}
}
}
auMergeTable(auFetchGlobal("Platforms"), platforms)