summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/toolchain.lua
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release/scripts/toolchain.lua')
-rw-r--r--docs/release/scripts/toolchain.lua439
1 files changed, 2 insertions, 437 deletions
diff --git a/docs/release/scripts/toolchain.lua b/docs/release/scripts/toolchain.lua
index 5fc886e1f48..4a3eac02546 100644
--- a/docs/release/scripts/toolchain.lua
+++ b/docs/release/scripts/toolchain.lua
@@ -17,8 +17,6 @@ newoption {
allowed = {
{ "android-arm", "Android - ARM" },
{ "android-arm64", "Android - ARM64" },
- { "android-mips", "Android - MIPS" },
- { "android-mips64","Android - MIPS64" },
{ "android-x86", "Android - x86" },
{ "android-x64", "Android - x64" },
{ "asmjs", "Emscripten/asm.js" },
@@ -26,8 +24,6 @@ newoption {
{ "freebsd-clang", "FreeBSD (clang compiler)"},
{ "linux-gcc", "Linux (GCC compiler)" },
{ "linux-clang", "Linux (Clang compiler)" },
- { "ios-arm", "iOS - ARM" },
- { "ios-simulator", "iOS - Simulator" },
{ "mingw32-gcc", "MinGW32" },
{ "mingw64-gcc", "MinGW64" },
{ "mingw-clang", "MinGW (clang compiler)" },
@@ -36,11 +32,7 @@ newoption {
{ "openbsd", "OpenBSD" },
{ "osx", "OSX (GCC compiler)" },
{ "osx-clang", "OSX (Clang compiler)" },
- { "pnacl", "Native Client - PNaCl" },
- { "rpi", "RaspberryPi" },
{ "solaris", "Solaris" },
- { "steamlink", "Steam Link" },
- { "ci20", "Creator-Ci20" },
},
}
@@ -49,48 +41,17 @@ newoption {
value = "toolset",
description = "Choose VS toolset",
allowed = {
- { "intel-14", "Intel C++ Compiler XE 14.0" },
{ "intel-15", "Intel C++ Compiler XE 15.0" },
- { "vs2015-clang", "Clang 3.6" },
- { "vs2015-xp", "Visual Studio 2015 targeting XP" },
- { "vs2017-clang", "Clang 3.6" },
- { "vs2017-xp", "Visual Studio 2017 targeting XP" },
{ "clangcl", "Visual Studio 2019 using Clang/LLVM" },
- { "winphone8", "Windows Phone 8.0" },
- { "winphone81", "Windows Phone 8.1" },
- { "winstore81", "Windows Store 8.1" },
- { "winstore82", "Universal Windows App" }
},
}
newoption {
- trigger = "xcode",
- value = "xcode_target",
- description = "Choose XCode target",
- allowed = {
- { "osx", "OSX" },
- { "ios", "iOS" },
- }
-}
-
-newoption {
trigger = "with-android",
value = "#",
description = "Set Android platform version (default: android-21).",
}
-newoption {
- trigger = "with-ios",
- value = "#",
- description = "Set iOS target version (default: 8.0).",
-}
-
-newoption {
- trigger = "with-windows",
- value = "#",
- description = "Set the Windows target platform version (default: 10.0.10240.0).",
-}
-
function toolchain(_buildDir, _subDir)
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION)
@@ -102,16 +63,6 @@ function toolchain(_buildDir, _subDir)
androidPlatform = "android-24"
end
- local iosPlatform = ""
- if _OPTIONS["with-ios"] then
- iosPlatform = _OPTIONS["with-ios"]
- end
-
- local windowsPlatform = "10.0.10240.0"
- if _OPTIONS["with-windows"] then
- windowsPlatform = _OPTIONS["with-windows"]
- end
-
if _ACTION == "gmake" or _ACTION == "ninja" then
if nil == _OPTIONS["gcc"] or nil == _OPTIONS["gcc_version"] then
@@ -138,8 +89,6 @@ function toolchain(_buildDir, _subDir)
local platformToolchainMap = {
['arm'] = "arm-linux-androideabi",
['arm64'] = "aarch64-linux-android",
- ['mips64'] = "mips64el-linux-android",
- ['mips'] = "mipsel-linux-android",
['x86'] = "i686-linux-android",
['x64'] = "x86_64-linux-android",
}
@@ -187,20 +136,6 @@ function toolchain(_buildDir, _subDir)
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-openbsd")
end
- if "ios-arm" == _OPTIONS["gcc"] then
- premake.gcc.cc = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
- premake.gcc.cxx = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++"
- premake.gcc.ar = "ar"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-ios-arm")
- end
-
- if "ios-simulator" == _OPTIONS["gcc"] then
- premake.gcc.cc = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
- premake.gcc.cxx = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++"
- premake.gcc.ar = "ar"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-ios-simulator")
- end
-
if "linux-gcc" == _OPTIONS["gcc"] then
-- Force gcc-4.2 on ubuntu-intrepid
if _OPTIONS["distro"]=="ubuntu-intrepid" then
@@ -223,36 +158,6 @@ function toolchain(_buildDir, _subDir)
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-linux-clang")
end
- if "steamlink" == _OPTIONS["gcc"] then
- if not os.getenv("MARVELL_SDK_PATH") then
- print("Set MARVELL_SDK_PATH envrionment variable.")
- end
- premake.gcc.cc = "$(MARVELL_SDK_PATH)/toolchain/bin/armv7a-cros-linux-gnueabi-gcc"
- premake.gcc.cxx = "$(MARVELL_SDK_PATH)/toolchain/bin/armv7a-cros-linux-gnueabi-g++"
- premake.gcc.ar = "$(MARVELL_SDK_PATH)/toolchain/bin/armv7a-cros-linux-gnueabi-ar"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-steamlink")
- end
-
- if "rpi" == _OPTIONS["gcc"] then
- if not os.getenv("RASPBERRY_SDK_PATH") then
- print("Set RASPBERRY_SDK_PATH envrionment variable.")
- end
- premake.gcc.cc = "$(RASPBERRY_SDK_PATH)/bin/arm-linux-gnueabihf-gcc"
- premake.gcc.cxx = "$(RASPBERRY_SDK_PATH)/bin/arm-linux-gnueabihf-g++"
- premake.gcc.ar = "$(RASPBERRY_SDK_PATH)/bin/arm-linux-gnueabihf-ar"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-rpi")
- end
-
- if "ci20" == _OPTIONS["gcc"] then
- if not os.getenv("MIPS_LINUXGNU_ROOT") then
- print("Set MIPS_LINUXGNU_ROOT envrionment variable.")
- end
- premake.gcc.cc = "$(MIPS_LINUXGNU_ROOT)/bin/mips-mti-linux-gnu-gcc"
- premake.gcc.cxx = "$(MIPS_LINUXGNU_ROOT)/bin/mips-mti-linux-gnu-g++"
- premake.gcc.ar = "$(MIPS_LINUXGNU_ROOT)/bin/mips-mti-linux-gnu-ar"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-ci20")
- end
-
if "mingw32-gcc" == _OPTIONS["gcc"] then
if not os.getenv("MINGW32") then
print("Set MINGW32 envrionment variable.")
@@ -302,181 +207,17 @@ function toolchain(_buildDir, _subDir)
premake.gcc.ar = toolchainPrefix .. "ar"
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-osx-clang")
end
-
- if "pnacl" == _OPTIONS["gcc"] then
-
- if not os.getenv("NACL_SDK_ROOT") then
- print("Set NACL_SDK_ROOT enviroment variables.")
- end
-
- naclToolchain = "$(NACL_SDK_ROOT)/toolchain/win_pnacl/bin/pnacl-"
- if os.is("macosx") then
- naclToolchain = "$(NACL_SDK_ROOT)/toolchain/mac_pnacl/bin/pnacl-"
- elseif os.is("linux") then
- naclToolchain = "$(NACL_SDK_ROOT)/toolchain/linux_pnacl/bin/pnacl-"
- end
-
- premake.gcc.cc = naclToolchain .. "clang"
- premake.gcc.cxx = naclToolchain .. "clang++"
- premake.gcc.ar = naclToolchain .. "ar"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-pnacl")
- end
-
- if "rpi" == _OPTIONS["gcc"] then
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-rpi")
- end
-
- if "ci20" == _OPTIONS["gcc"] then
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-ci20")
- end
- elseif _ACTION == "vs2015" or _ACTION == "vs2015-fastbuild" then
-
- if (_ACTION .. "-clang") == _OPTIONS["vs"] then
- premake.vstudio.toolset = ("LLVM-" .. _ACTION)
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-clang")
- end
-
- if "winphone8" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "v110_wp80"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-winphone8")
- end
-
- if "winphone81" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "v120_wp81"
- platforms { "ARM" }
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-winphone81")
- end
-
- if "winstore81" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "v120"
- premake.vstudio.storeapp = "8.1"
- platforms { "ARM" }
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-winstore81")
- end
-
- if "winstore82" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "v140"
- premake.vstudio.storeapp = "8.2"
-
- -- If needed, depending on GENie version, enable file-level configuration
- if enablefilelevelconfig ~= nil then
- enablefilelevelconfig()
- end
-
- local action = premake.action.current()
- action.vstudio.windowsTargetPlatformVersion = windowsPlatform
-
- platforms { "ARM" }
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-winstore82")
- end
-
- if "intel-14" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "Intel C++ Compiler XE 14.0"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-intel")
- end
-
- if "intel-15" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "Intel C++ Compiler XE 15.0"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-intel")
- end
-
- if ("vs2015-xp") == _OPTIONS["vs"] then
- premake.vstudio.toolset = ("v140_xp")
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-xp")
- end
- elseif _ACTION == "vs2017" or _ACTION == "vs2017-fastbuild" then
-
- if (_ACTION .. "-clang") == _OPTIONS["vs"] then
- premake.vstudio.toolset = ("LLVM-" .. _ACTION)
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-clang")
- end
-
- if "winphone8" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "v110_wp80"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-winphone8")
- end
-
- if "winphone81" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "v120_wp81"
- platforms { "ARM" }
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-winphone81")
- end
-
- if "winstore81" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "v120"
- premake.vstudio.storeapp = "8.1"
- platforms { "ARM" }
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-winstore81")
- end
-
- if "winstore82" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "v141"
- premake.vstudio.storeapp = "8.2"
-
- -- If needed, depending on GENie version, enable file-level configuration
- if enablefilelevelconfig ~= nil then
- enablefilelevelconfig()
- end
-
- local action = premake.action.current()
- action.vstudio.windowsTargetPlatformVersion = windowsPlatform
-
- platforms { "ARM" }
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-winstore82")
- end
-
- if "intel-14" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "Intel C++ Compiler XE 14.0"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-intel")
- end
-
- if "intel-15" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "Intel C++ Compiler XE 15.0"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-intel")
- end
-
- if ("vs2017-xp") == _OPTIONS["vs"] then
- premake.vstudio.toolset = ("v141_xp")
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-xp")
- end
- elseif _ACTION == "vs2019" or _ACTION == "vs2019-fastbuild" then
+ elseif _ACTION == "vs2019" then
if "clangcl" == _OPTIONS["vs"] then
premake.vstudio.toolset = ("ClangCL")
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-clang")
end
- if "winstore82" == _OPTIONS["vs"] then
- premake.vstudio.toolset = "v142"
- premake.vstudio.storeapp = "10.0"
-
- -- If needed, depending on GENie version, enable file-level configuration
- if enablefilelevelconfig ~= nil then
- enablefilelevelconfig()
- end
-
- local action = premake.action.current()
- action.vstudio.windowsTargetPlatformVersion = windowsPlatform
-
- platforms { "ARM" }
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-winstore82")
- end
-
if "intel-15" == _OPTIONS["vs"] then
premake.vstudio.toolset = "Intel C++ Compiler XE 15.0"
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-intel")
end
- elseif _ACTION == "xcode4" then
-
-
- if "osx" == _OPTIONS["xcode"] then
- premake.xcode.toolset = "macosx"
- location (path.join(_buildDir, "projects", _ACTION .. "-osx"))
-
- elseif "ios" == _OPTIONS["xcode"] then
- premake.xcode.toolset = "iphoneos"
- location (path.join(_buildDir, "projects", _ACTION .. "-ios"))
- end
end
if (_OPTIONS["CC"] ~= nil) then
@@ -514,16 +255,6 @@ function toolchain(_buildDir, _subDir)
configuration { "x64", "vs*", "Debug" }
targetdir (_buildDir .. _ACTION .. "/bin/x64/Debug")
- configuration { "ARM", "vs*" }
- targetdir (_buildDir .. _ACTION .. "/bin/ARM")
- objdir (_buildDir .. _ACTION .. "/obj")
-
- configuration { "ARM", "vs*", "Release" }
- targetdir (_buildDir .. _ACTION .. "/bin/ARM/Release")
-
- configuration { "ARM", "vs*", "Debug" }
- targetdir (_buildDir .. _ACTION .. "/bin/ARM/Debug")
-
configuration { "x32", "vs*-clang" }
objdir (_buildDir .. _ACTION .. "-clang/obj")
@@ -547,15 +278,6 @@ function toolchain(_buildDir, _subDir)
"-Qunused-arguments",
}
- configuration { "winphone8* or winstore8*" }
- removeflags {
- "StaticRuntime",
- "NoExceptions",
- }
- flags {
- "WinMain"
- }
-
configuration { "mingw*" }
defines { "WIN32" }
@@ -579,115 +301,6 @@ function toolchain(_buildDir, _subDir)
configuration { "x64", "mingw64-gcc", "Debug" }
targetdir (_buildDir .. "mingw-gcc" .. "/bin/x64/Debug")
- configuration { "steamlink" }
- objdir ( _buildDir .. "steamlink/obj")
- defines {
- "__STEAMLINK__=1", -- There is no special prefedined compiler symbol to detect SteamLink, faking it.
- }
- buildoptions {
- "-marm",
- "-mfloat-abi=hard",
- "--sysroot=$(MARVELL_SDK_PATH)/rootfs",
- }
- linkoptions {
- "-static-libgcc",
- "-static-libstdc++",
- "--sysroot=$(MARVELL_SDK_PATH)/rootfs",
- }
-
- configuration { "steamlink", "Release" }
- targetdir (_buildDir .. "steamlink/bin/Release")
-
- configuration { "steamlink", "Debug" }
- targetdir (_buildDir .. "steamlink/bin/Debug")
-
- configuration { "rpi" }
- objdir ( _buildDir .. "rpi/obj")
- libdirs {
- "$(RASPBERRY_SYSROOT)/opt/vc/lib",
- }
- includedirs {
- "$(RASPBERRY_SYSROOT)/opt/vc/include",
- "$(RASPBERRY_SYSROOT)/opt/vc/include/interface/vcos/pthreads",
- "$(RASPBERRY_SYSROOT)/opt/vc/include/interface/vmcs_host/linux",
- }
- defines {
- "__VCCOREVER__=0x04000000", -- There is no special prefedined compiler symbol to detect RaspberryPi, faking it.
- }
- linkoptions {
- "-Wl,--gc-sections",
- }
- buildoptions {
- "--sysroot=$(RASPBERRY_SYSROOT)",
- }
- linkoptions {
- "-static-libgcc",
- "-static-libstdc++",
- "--sysroot=$(RASPBERRY_SYSROOT)",
- }
-
- configuration { "rpi", "Release" }
- targetdir (_buildDir .. "rpi/bin/Release")
-
- configuration { "rpi", "Debug" }
- targetdir (_buildDir .. "rpi/bin/Debug")
-
- configuration { "ci20" }
- objdir ( _buildDir .. "ci20/obj")
- includedirs {
- "$(CI20_SYSROOT)/mipsel-r2-hard/usr/include/c++/4.9",
- "$(CI20_SYSROOT)/mipsel-r2-hard/usr/include/mipsel-linux-gnu/c++/4.9",
- "$(CI20_SYSROOT)/mipsel-r2-hard/usr/include/c++/4.9/backward",
- "$(CI20_SYSROOT)/mipsel-r2-hard/usr/lib/gcc/mipsel-linux-gnu/4.9/include",
- "$(CI20_SYSROOT)/mipsel-r2-hard/usr/local/include",
- "$(CI20_SYSROOT)/mipsel-r2-hard/usr/lib/gcc/mipsel-linux-gnu/4.9/include-fixed",
- "$(CI20_SYSROOT)/mipsel-r2-hard/usr/include/mipsel-linux-gnu",
- "$(CI20_SYSROOT)/mipsel-r2-hard/usr/include",
- }
- links {
- "c",
- "dl",
- "m",
- "gcc",
- "stdc++",
- "gcc_s",
- }
-
- buildoptions {
- "--sysroot=$(CI20_SYSROOT)",
- "-Wno-pragmas",
- "-Wno-undef",
- "-EL",
- "-mel",
- "-march=mips32r2",
- "-mllsc",
- "-mabi=32",
- }
- linkoptions {
- "--sysroot=$(CI20_SYSROOT)",
- "-Wl,-rpath=$(CI20_SYSROOT)/mipsel-r2-hard/usr/lib/mipsel-linux-gnu/",
- "-Wl,-rpath=$(CI20_SYSROOT)/mipsel-r2-hard/lib/mipsel-linux-gnu/",
- "-nostdlib",
- "-EL",
- "-mel",
- "-march=mips32r2",
- "-mllsc",
- "-mabi=32",
- "$(MIPS_LINUXGNU_ROOT)/lib/gcc/mips-mti-linux-gnu/4.9.2/mipsel-r2-hard/lib/crtbegin.o",
- "$(MIPS_LINUXGNU_ROOT)/lib/gcc/mips-mti-linux-gnu/4.9.2/mipsel-r2-hard/lib/crtend.o",
- "-L$(CI20_SYSROOT)/mipsel-r2-hard/usr/lib/gcc/mipsel-linux-gnu/4.9",
- "-L$(CI20_SYSROOT)/mipsel-r2-hard/usr/lib/mipsel-linux-gnu",
- "-L$(CI20_SYSROOT)/mipsel-r2-hard/usr/lib",
- "-L$(CI20_SYSROOT)/mipsel-r2-hard/lib/mipsel-linux-gnu",
- "-L$(CI20_SYSROOT)/mipsel-r2-hard/lib",
- }
-
- configuration { "ci20", "Release" }
- targetdir (_buildDir .. "ci20/bin/Release")
-
- configuration { "ci20", "Debug" }
- targetdir (_buildDir .. "ci20/bin/Debug")
-
configuration { "mingw-clang" }
buildoptions {
"-femulated-tls",
@@ -1021,36 +634,6 @@ function toolchain(_buildDir, _subDir)
"-Wno-extern-c-compat",
}
- configuration { "pnacl" }
- buildoptions {
- "-U__STRICT_ANSI__", -- strcasecmp, setenv, unsetenv,...
- "-fno-stack-protector",
- "-fdiagnostics-show-option",
- "-fdata-sections",
- "-ffunction-sections",
- "-Wunused-value",
- }
-
- configuration { "pnacl" }
- buildoptions {
- "-Wno-tautological-undefined-compare",
- "-Wno-cast-align",
- }
- includedirs {
- "$(NACL_SDK_ROOT)/include",
- "$(NACL_SDK_ROOT)/include/pnacl",
- }
-
- configuration { "pnacl" }
- targetdir (_buildDir .. "pnacl" .. "/bin")
- objdir (_buildDir .. "pnacl" .. "/obj")
-
- configuration { "pnacl", "Debug" }
- libdirs { "$(NACL_SDK_ROOT)/lib/pnacl/Debug" }
-
- configuration { "pnacl", "Release" }
- libdirs { "$(NACL_SDK_ROOT)/lib/pnacl/Release" }
-
configuration { "osx*", "x32", "not arm64" }
objdir (_buildDir .. "osx_clang" .. "/obj")
buildoptions {
@@ -1086,18 +669,6 @@ function toolchain(_buildDir, _subDir)
configuration { "osx*", "arm64", "Debug" }
targetdir (_buildDir .. "osx_clang" .. "/bin/x64/Debug")
- configuration { "ios-arm" }
- targetdir (_buildDir .. "ios-arm" .. "/bin")
- objdir (_buildDir .. "ios-arm" .. "/obj")
-
- configuration { "ios-simulator" }
- targetdir (_buildDir .. "ios-simulator" .. "/bin")
- objdir (_buildDir .. "ios-simulator" .. "/obj")
-
- configuration { "rpi" }
- targetdir (_buildDir .. "rpi" .. "/bin")
- objdir (_buildDir .. "rpi" .. "/obj")
-
configuration {} -- reset configuration
return true
@@ -1120,7 +691,7 @@ function strip()
"$(SILENT) " .. toolchainPrefix .. "strip -s \"$(TARGET)\""
}
- configuration { "linux-* or rpi" }
+ configuration { "linux-*" }
postbuildcommands {
"$(SILENT) echo Stripping symbols.",
"$(SILENT) strip -s \"$(TARGET)\""
@@ -1137,12 +708,6 @@ function strip()
"$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] or "$(MINGW32)/bin/") .. "strip -s \"$(TARGET)\"",
}
- configuration { "pnacl" }
- postbuildcommands {
- "$(SILENT) echo Running pnacl-finalize.",
- "$(SILENT) " .. naclToolchain .. "finalize \"$(TARGET)\""
- }
-
configuration { "asmjs" }
postbuildcommands {
"$(SILENT) echo Running asmjs finalize.",